summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/t/string.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index 945ef890c..2d0804519 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -415,10 +415,7 @@ assert('String#each_byte') do
bytes1 == bytes2
end
-assert('String#dump') do
- ("\1" * 100).dump # should not raise an exception - regress #1210
-end
-
assert('String#inspect') do
("\1" * 100).inspect # should not raise an exception - regress #1210
+ "\0".inspect == "\"\\000\""
end