diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-01 14:56:59 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-01 14:56:59 +0000 |
| commit | 4fb8da5d0a8390ae9843f91916bf592fdfbf2c4f (patch) | |
| tree | 5e574d3780249fef3aec89840cc4ae4a02ad99e4 /bootstraptest/test_jump.rb | |
| parent | fc915dfff6491b3d38ed9d9219c9c6514d389096 (diff) | |
| download | ruby-4fb8da5d0a8390ae9843f91916bf592fdfbf2c4f.tar.gz ruby-4fb8da5d0a8390ae9843f91916bf592fdfbf2c4f.tar.xz ruby-4fb8da5d0a8390ae9843f91916bf592fdfbf2c4f.zip | |
* test_jump.rb, test_knownbug.rb: seems to be fixed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_jump.rb')
| -rw-r--r-- | bootstraptest/test_jump.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstraptest/test_jump.rb b/bootstraptest/test_jump.rb index 9ada6829b..b1a74d889 100644 --- a/bootstraptest/test_jump.rb +++ b/bootstraptest/test_jump.rb @@ -237,3 +237,14 @@ assert_equal 'ok', %q{ :ng end }, '[ruby-dev:31609]' + +assert_equal "1", %q{ + catch do |t| + begin + throw t, 1 + 2 + ensure + 3 + end + end +}, "[ruby-dev:31698]" |
