From f3f3f32a8541e80feafeedbd73cf37d83d469363 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 12 May 2008 03:41:48 +0000 Subject: add a test for [ruby-dev:34646]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_knownbug.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bootstraptest') diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index d76f6fdce..44f3e27a8 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]' -- cgit