mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove LoadError
This commit is contained in:
@@ -21,9 +21,5 @@ end
|
||||
class SyntaxError < ScriptError
|
||||
end
|
||||
|
||||
# ISO 15.2.39
|
||||
class LoadError < ScriptError
|
||||
end
|
||||
|
||||
class NotImplementedError < ScriptError
|
||||
end
|
||||
|
||||
+1
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user