diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-25 10:07:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-25 10:07:22 +0000 |
commit | db1f7079b6ff3c7227f20fc9c0743f9147bba2d2 (patch) | |
tree | 8db391210107f63c0a2df826c706eff1e789b208 /test/ruby/test_literal.rb | |
parent | acd82f6e24494ccced2fca81681c1beb1a5e0e58 (diff) | |
download | ruby-db1f7079b6ff3c7227f20fc9c0743f9147bba2d2.tar.gz |
remove string literal concatenation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_literal.rb')
-rw-r--r-- | test/ruby/test_literal.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb index c34874e4a6..d9b999d22f 100644 --- a/test/ruby/test_literal.rb +++ b/test/ruby/test_literal.rb @@ -56,6 +56,7 @@ class TestRubyLiteral < Test::Unit::TestCase assert_equal "\n", "\n" bug2500 = '[ruby-core:27228]' bug5262 = '[ruby-core:39222]' + verbose, $VERBOSE = $VERBOSE, nil %w[c C- M-].each do |pre| ["u", %w[u{ }]].each do |open, close| ["?", ['"', '"']].each do |qopen, qclose| @@ -89,6 +90,8 @@ class TestRubyLiteral < Test::Unit::TestCase assert_equal "\u201c", eval(%[?\\\u{201c}]), bug6069 assert_equal "\u201c".encode("euc-jp"), eval(%[?\\\u{201c}].encode("euc-jp")), bug6069 assert_equal "\u201c".encode("iso-8859-13"), eval(%[?\\\u{201c}].encode("iso-8859-13")), bug6069 + ensure + $VERBOSE = verbose end def test_dstring |