mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
revert r37326 "remove string literal concatenation"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c6629c48e6
commit
e6c5b9f308
16 changed files with 44 additions and 35 deletions
|
@ -56,7 +56,6 @@ 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|
|
||||
|
@ -90,8 +89,6 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue