Sign in
◑
Theme
gdch-oss
/
third_party
/
a232aa8df97b62981d9c119ded9670ab3feb68a6
/
.
/
test
/
stdlib
/
LocalJumpError_test.rb
blob: b3007a720940c9e869baf7b6b91b53c2b3d1dd78 [
file
]
require_relative
"test_helper"
class
LocalJumpErrorTest
<
StdlibTest
target
LocalJumpError
def
test_exit_value
p
=
proc
{
break
3
}
exception
=
begin
p
[]
nil
rescue
LocalJumpError
=>
exn
exn
end
exception
.
exit_value
exception
.
reason
end
end