aboutsummaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 10:07:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-25 10:07:22 +0000
commitdb1f7079b6ff3c7227f20fc9c0743f9147bba2d2 (patch)
tree8db391210107f63c0a2df826c706eff1e789b208 /sample
parentacd82f6e24494ccced2fca81681c1beb1a5e0e58 (diff)
downloadruby-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 'sample')
-rwxr-xr-xsample/test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 26cf0a1d97..11f15de938 100755
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -1612,10 +1612,6 @@ test_check "string & char"
test_ok("abcd" == "abcd")
test_ok("abcd" =~ /abcd/)
test_ok("abcd" === "abcd")
-# compile time string concatenation
-test_ok("ab" "cd" == "abcd")
-test_ok("#{22}aa" "cd#{44}" == "22aacd44")
-test_ok("#{22}aa" "cd#{44}" "55" "#{66}" == "22aacd445566")
test_ok("abc" !~ /^$/)
test_ok("abc\n" !~ /^$/)
test_ok("abc" !~ /^d*$/)