From 433cb13e6db6c4f6761613bd0096f5d2f43f4626 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Thu, 25 Apr 2013 15:34:56 +0900 Subject: Add tests to make sure. As we do not use standard library for formatting. --- test/t/string.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3