mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
test/exception.rb: update for new Exception#inspect
This commit is contained in:
+1
-1
@@ -355,7 +355,7 @@ end
|
||||
assert('Exception#inspect') do
|
||||
assert_equal "Exception", Exception.new.inspect
|
||||
assert_equal "Exception", Exception.new("").inspect
|
||||
assert_equal "error! (Exception)", Exception.new("error!").inspect
|
||||
assert_equal "#<Exception: error!>", Exception.new("error!").inspect
|
||||
end
|
||||
|
||||
assert('Exception#backtrace') do
|
||||
|
||||
Reference in New Issue
Block a user