diff options
-rw-r--r-- | test/ruby/test_string.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index faa7bd670d..3b1029ecdd 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -1977,3 +1977,10 @@ class TestString < Test::Unit::TestCase assert_equal(u("\x82")+("\u3042"*9), ("\u3042"*10).byteslice(2, 28)) end end + +class TestString2 < TestString + def initialize(*args) + super + @cls = S2 + end +end |