mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add tests to make sure. As we do not use standard library for formatting.
This commit is contained in:
@@ -15,6 +15,7 @@ end
|
||||
|
||||
assert('String#dump') do
|
||||
("\1" * 100).dump # should not raise an exception - regress #1210
|
||||
"\0".inspect == "\"\\000\"" and
|
||||
"foo".dump == "\"foo\""
|
||||
end
|
||||
|
||||
|
||||
@@ -417,4 +417,5 @@ end
|
||||
|
||||
assert('String#inspect') do
|
||||
("\1" * 100).inspect # should not raise an exception - regress #1210
|
||||
"\0".inspect == "\"\\000\""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user