[前][次][番号順一覧][スレッド一覧]

ruby-changes:56259

From: Nobuyoshi <ko1@a...>
Date: Fri, 28 Jun 2019 16:06:34 +0900 (JST)
Subject: [ruby-changes:56259] Nobuyoshi Nakada: 566e6b0546 (trunk): Fixed name conflict between helper classes

https://git.ruby-lang.org/ruby.git/commit/?id=566e6b0546

From 566e6b0546633f3da4f868c3a217bc3167008fdf Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 28 Jun 2019 16:02:03 +0900
Subject: Fixed name conflict between helper classes


diff --git a/test/ruby/enc/test_emoji_breaks.rb b/test/ruby/enc/test_emoji_breaks.rb
index 37a2964..31d5f3f 100644
--- a/test/ruby/enc/test_emoji_breaks.rb
+++ b/test/ruby/enc/test_emoji_breaks.rb
@@ -3,7 +3,10 @@ https://github.com/ruby/ruby/blob/trunk/test/ruby/enc/test_emoji_breaks.rb#L3
 
 require "test/unit"
 
-class BreakTest
+class TestEmojiBreaks < Test::Unit::TestCase
+end
+
+class TestEmojiBreaks::BreakTest
   attr_reader :string, :comment, :filename, :line_number, :type, :shortname
 
   def initialize (filename, line_number, data, comment='')
diff --git a/test/ruby/enc/test_grapheme_breaks.rb b/test/ruby/enc/test_grapheme_breaks.rb
index 7f6c776..c982a83 100644
--- a/test/ruby/enc/test_grapheme_breaks.rb
+++ b/test/ruby/enc/test_grapheme_breaks.rb
@@ -3,7 +3,10 @@ https://github.com/ruby/ruby/blob/trunk/test/ruby/enc/test_grapheme_breaks.rb#L3
 
 require "test/unit"
 
-class BreakTest
+class TestGraphemeBreaksFromFile < Test::Unit::TestCase
+end
+
+class TestGraphemeBreaksFromFile::BreakTest
   attr_reader :clusters, :string, :comment, :line_number
 
   def initialize (line_number, data, comment)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]