remove LoadError

This commit is contained in:
Yukihiro Matsumoto
2012-06-15 13:55:27 +09:00
parent 79e1625269
commit 39f47c1915
2 changed files with 1 additions and 15 deletions
-4
View File
@@ -21,9 +21,5 @@ end
class SyntaxError < ScriptError
end
# ISO 15.2.39
class LoadError < ScriptError
end
class NotImplementedError < ScriptError
end
+1 -11
View File
@@ -24,7 +24,7 @@ end
assert('Exception#message', '15.2.22.5.2') do
e = Exception.exception('a')
e.message == 'a'
end
@@ -61,16 +61,6 @@ assert('SyntaxError', '15.2.38') do
end
end
assert('LoadError', '15.2.39') do
begin
raise LoadError.new
rescue LoadError
true
else
false
end
end
# Not ISO specified
assert('Exception 1') do