diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 00:15:23 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 00:15:23 +0000 |
commit | a84103ce6028448295d2f0dd9e0f0c3ca976ee1a (patch) | |
tree | 3b1958490567b05fe01d634d533f86605f75bc70 | |
parent | 38c303bb5257a0ff811a2d9256f9ed32b8a30b06 (diff) | |
download | ruby-a84103ce6028448295d2f0dd9e0f0c3ca976ee1a.tar.gz |
add a test for [ruby-core:14279].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | bootstraptest/test_knownbug.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index b97a08d928..91e3cd5e48 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -3,3 +3,9 @@ # So all tests will cause failure. # +assert_normal_exit %{ + def foo(&block) + yield if block + end + foo(&:bar) +}, '[ruby-core:14279]' |