resources/mruby/test/t/string.rb in esruby-0.0.9 vs resources/mruby/test/t/string.rb in esruby-0.0.10

- old
+ new

@@ -18,10 +18,11 @@ assert_equal 0, a assert_equal(-1, b) assert_equal 1, c assert_equal(-1, d) assert_equal 1, e + assert_nil 'a' <=> 1024 end assert('String#==', '15.2.10.5.2') do assert_equal 'abc', 'abc' assert_not_equal 'abc', 'cba' @@ -683,10 +684,10 @@ # should not raise an exception - regress #1210 assert_nothing_raised do ("\1" * 100).inspect end - assert_equal "\"\\000\"", "\0".inspect + assert_equal "\"\\x00\"", "\0".inspect end # Not ISO specified assert('String interpolation (mrb_str_concat for shared strings)') do