diff options
Diffstat (limited to 'test/ruby/test_string.rb')
-rw-r--r-- | test/ruby/test_string.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index 8d96c8cbae..766b3cfc97 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -2258,7 +2258,7 @@ class TestString < Test::Unit::TestCase end def test_eq_tilde_can_be_overridden - assert_in_out_err([], <<-RUBY, ["foo"], []) + assert_separately([], <<-RUBY) class String undef =~ def =~(str) @@ -2266,7 +2266,7 @@ class TestString < Test::Unit::TestCase end end - puts "" =~ // + assert_equal("foo", "" =~ //) RUBY end end |