Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 15 lines (12 sloc) 0.252 kb
150b235 @bovi Add Tests for all Exception classes, for false, true, Proc, Module, n…
bovi authored
1 ##
2 # RuntimeError ISO Test
3
4 assert('RuntimeError', '15.2.28') do
5 e2 = nil
6 begin
7 # this will cause an exception due to the wrong location
8 retry
9 rescue => e1
10 e2 = e1
11 end
12
13 RuntimeError.class == Class and e2.class == RuntimeError
14 end
Something went wrong with that request. Please try again.