Add more test for exception.

This commit is contained in:
Masamitsu MURASE
2012-08-13 01:57:00 +09:00
parent 87ba67f42d
commit 686b6eb629
+16
View File
@@ -253,3 +253,19 @@ assert('Exception 13') do
end
a == :ok
end
def exception_test14
UnknownConstant
end
assert('Exception 14') do
a = :ng
begin
send(:exception_test14)
rescue
a = :ok
end
a == :ok
end