* sample/test.rb: rescue exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7ac32d7a16
commit
ee01c3e38b
@ -1,3 +1,7 @@
|
|||||||
|
Sun Dec 21 10:43:10 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
|
||||||
|
|
||||||
|
* sample/test.rb: rescue exception.
|
||||||
|
|
||||||
Sat Dec 20 18:28:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Dec 20 18:28:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* dln.c (dln_find_1): supplements an extension for executable
|
* dln.c (dln_find_1): supplements an extension for executable
|
||||||
|
@ -660,8 +660,8 @@ begin
|
|||||||
raise $string
|
raise $string
|
||||||
end
|
end
|
||||||
test_ok(false)
|
test_ok(false)
|
||||||
rescue
|
rescue => e
|
||||||
test_ok(true) if $! == $string
|
test_ok(true) if $! == e
|
||||||
end
|
end
|
||||||
|
|
||||||
# exception in ensure clause
|
# exception in ensure clause
|
||||||
|
Loading…
x
Reference in New Issue
Block a user