diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-03 08:57:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-03 08:57:28 +0000 |
commit | fb03cb8275d6028d082fedeaa29e237cbe66399a (patch) | |
tree | 053f6712fa467d30c46fa43dd69a24a881f4bbb1 /bootstraptest/test_literal.rb | |
parent | 468c258d3c0ebe448076ff3586ffc6e4b39830b8 (diff) |
* parse.y (literal_concat_gen): concat body from dstr instead of
nd_next. [ruby-core:25284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_literal.rb')
-rw-r--r-- | bootstraptest/test_literal.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_literal.rb b/bootstraptest/test_literal.rb index 8480c65308..ab028e2c1e 100644 --- a/bootstraptest/test_literal.rb +++ b/bootstraptest/test_literal.rb @@ -192,3 +192,11 @@ assert_normal_exit %q{ rescue end }, '[ruby-dev:34536]' + +assert_equal 'ok', %q{ + "#{}""#{}ok" +}, '[ruby-dev:38968]' + +assert_equal 'ok', %q{ + "#{}o""#{}k""#{}" +}, '[ruby-core:25284]' |