diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-29 06:54:56 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-29 06:54:56 +0000 |
commit | 089cfabaf00f1d208f1af15c64a5e7c8b7025dc4 (patch) | |
tree | 73a93a3be74b482e2fe232d97a5cadee31b579eb /bootstraptest/test_knownbug.rb | |
parent | 2656b0545eaa3a5d8d2b96788adc2c1f4e78a1e0 (diff) | |
download | ruby-089cfabaf00f1d208f1af15c64a5e7c8b7025dc4.tar.gz |
add test for [ruby-dev:31609].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_knownbug.rb')
-rw-r--r-- | bootstraptest/test_knownbug.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 80de543edd..ed9f6c1c41 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -12,3 +12,11 @@ assert_equal 'ok', %q{ m {|(r)|} r }, '[ruby-dev:31507]' + +assert_equal 'ok', %q{ + begin + catch {|t| throw t, :ok } + rescue ArgumentError + :ng + end +}, '[ruby-dev:31609]' |