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_stringchar.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_stringchar.rb')
-rw-r--r-- | test/ruby/test_stringchar.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ruby/test_stringchar.rb b/test/ruby/test_stringchar.rb index 4cae57f85f..7a4f77d967 100644 --- a/test/ruby/test_stringchar.rb +++ b/test/ruby/test_stringchar.rb @@ -5,10 +5,6 @@ class TestStringchar < Test::Unit::TestCase assert_equal("abcd", "abcd") assert_match(/abcd/, "abcd") assert("abcd" === "abcd") - # compile time string concatenation - assert_equal("abcd", "ab" "cd") - assert_equal("22aacd44", "#{22}aa" "cd#{44}") - assert_equal("22aacd445566", "#{22}aa" "cd#{44}" "55" "#{66}") assert("abc" !~ /^$/) assert("abc\n" !~ /^$/) assert("abc" !~ /^d*$/) |