diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-29 06:12:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-29 06:12:46 +0000 |
commit | d14c3eb4b8dda24c6cce082da550941540d159c0 (patch) | |
tree | 8d18fd986d3415c665ebcc0a899e0f0a1fa2dbd7 /bootstraptest | |
parent | b4be9b0bb1b42e5bc591a2c384224e56886cb341 (diff) | |
download | ruby-d14c3eb4b8dda24c6cce082da550941540d159c0.tar.gz |
* parse.y (opt_block_param): command can start just after block param
definition. [ruby-list:44479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 2 | ||||
-rw-r--r-- | bootstraptest/test_syntax.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index c438231f2c..6aedfbb6e5 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -44,8 +44,6 @@ assert_equal 'ok', %q{ end }, '[ruby-core:14537]' -assert_valid_syntax('1.times {|i|print (42),1;}', '[ruby-list:44479]') - assert_normal_exit %q{ "abc".gsub(/./, "a" => "z") } diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb index c64bd5ad9c..dc4cae3dff 100644 --- a/bootstraptest/test_syntax.rb +++ b/bootstraptest/test_syntax.rb @@ -765,3 +765,5 @@ assert_equal "1\n2\n", %q{ next p(i) end } + +assert_valid_syntax('1.times {|i|print (42),1;}', '[ruby-list:44479]') |