Skip to content

Commit 38b7900

Browse files
committed
change the expected error messages in test.sh for the updated mrb_exc_inspect() in mruby/src/error.c
See mruby/mruby@333c364d5d error.c (mrb_exc_inspect): Update format to match CRuby See also ruby/ruby@022ab41 [DOC] Improve Errno and SystemCallError.new
1 parent 47df94d commit 38b7900

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Foo::dtor()'
5050
run module 'modfunc called: 1234'
5151

5252
# Failure cases
53-
fail wrong_type "can't convert String into Fixnum, argument 1(1111) (TypeError)"
54-
fail wrong_arg_num "'square': wrong number of arguments (2 for 1) (ArgumentError)"
53+
fail wrong_type "#<TypeError: can't convert String into Fixnum, argument 1(1111)>"
54+
fail wrong_arg_num "#<ArgumentError: 'square': wrong number of arguments (2 for 1)>"
5555

5656
################################################################
5757
# All tests succeeded.

0 commit comments

Comments
 (0)