mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
remove string literal concatenation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
acd82f6e24
commit
db1f7079b6
16 changed files with 35 additions and 44 deletions
|
@ -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*$/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue