diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-25 03:53:30 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-25 03:53:30 +0000 |
commit | 6527bcfe30e84c0b3f28b039f251ced47218c32c (patch) | |
tree | a7dc681454f2d66f29f917f46118d08fefe95923 | |
parent | a25fbe3b3e531bbe479f344af24eaf9d2eeae6ea (diff) | |
download | ruby-6527bcfe30e84c0b3f28b039f251ced47218c32c.tar.gz |
add test for [ruby-dev:31507].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bootstraptest/test_knownbug.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 114916710c..94b928127f 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -6,4 +6,11 @@ # massign
assert_equal '[0,1,{2=>3}]', '[0,*[1],2=>3]', "[ruby-dev:31592]"
-
+assert_equal 'ok', %q{
+ def m()
+ yield :ng
+ end
+ r = :ok
+ m {|(r)|}
+ r
+}, '[ruby-dev:31507]'
|