diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb index cb1bd575e5..5f2c54f44a 100644 --- a/test/ruby/test_string.rb +++ b/test/ruby/test_string.rb @@ -24,7 +24,7 @@ class TestString < Test::Unit::TestCase assert_equal('"\343\201\202"', "\xe3\x81\x82".inspect) $KCODE = 'u' - assert_equal('"\\343\\201\\202"', "\xe3\x81\x82".inspect) + assert_equal("\"\343\201\202\"", "\xe3\x81\x82".inspect) assert_no_match(/\0/, "\xe3\x81".inspect, '[ruby-dev:39550]') ensure $KCODE = original_kcode |