summaryrefslogtreecommitdiffhomepage
path: root/test/t/string.rb
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-04-25 15:34:56 +0900
committerMasaki Muranaka <[email protected]>2013-04-25 15:35:16 +0900
commit433cb13e6db6c4f6761613bd0096f5d2f43f4626 (patch)
tree4c9df98830d42492eeaa79de3ed5bcb40f80b544 /test/t/string.rb
parentda4b3d1c2cbcee672ec07760cf58b850213aa02a (diff)
downloadmruby-433cb13e6db6c4f6761613bd0096f5d2f43f4626.tar.gz
mruby-433cb13e6db6c4f6761613bd0096f5d2f43f4626.zip
Add tests to make sure. As we do not use standard library for formatting.
Diffstat (limited to 'test/t/string.rb')
-rw-r--r--test/t/string.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index 1e0d44f67..2d0804519 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -417,4 +417,5 @@ end
assert('String#inspect') do
("\1" * 100).inspect # should not raise an exception - regress #1210
+ "\0".inspect == "\"\\000\""
end