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 | fef969bcd04a2b2481d7e5254cd49dca45f95d07 (patch) | |
| tree | 3b1958490567b05fe01d634d533f86605f75bc70 | |
| parent | a7c2359e399d38fb933549d63b46b106cf200003 (diff) | |
| download | ruby-fef969bcd04a2b2481d7e5254cd49dca45f95d07.tar.gz ruby-fef969bcd04a2b2481d7e5254cd49dca45f95d07.tar.xz ruby-fef969bcd04a2b2481d7e5254cd49dca45f95d07.zip | |
add a test for [ruby-core:14279].
git-svn-id: http://svn.ruby-lang.org/repos/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 b97a08d92..91e3cd5e4 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]' |
