Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (14 sloc) 0.327 kb
150b235 @bovi Add Tests for all Exception classes, for false, true, Proc, Module, n…
bovi authored
1 ##
2 # NoMethodError ISO Test
3
4 assert('NoMethodError', '15.2.32') do
5 e2 = nil
6 begin
7 doesNotExistAsAMethodNameForVerySure("")
8 rescue => e1
9 e2 = e1
10 end
11
12 NoMethodError.class == Class and e2.class == NoMethodError
13 end
c78dc29 @bovi Add superclass tests for Exceptions
bovi authored
14
15 assert('NoMethodError superclass', '15.2.32.2') do
16 NoMethodError.superclass == NameError
17 end
18
Something went wrong with that request. Please try again.