summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 03:41:48 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 03:41:48 +0000
commit21140756e12e79b153adf129bba2923544e6bafa (patch)
tree327d9d1cca339092451d97a951ab59bbc6c230f2 /bootstraptest
parent10fc0eb781b3d551740056ba2ea966bc93a1f1a2 (diff)
add a test for [ruby-dev:34646].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index d76f6fd..44f3e27 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -225,3 +225,10 @@ assert_equal 'ok', %q{
assert_normal_exit %q{
at_exit { Fiber.new{}.resume }
}
+
+assert_equal 'ok', %q{
+ lambda {
+ break :ok
+ :ng
+ }.call
+}, '[ruby-dev:34646]'