summaryrefslogtreecommitdiffhomepage
path: root/test/t/string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/string.rb')
-rw-r--r--test/t/string.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index 5f5f664cf..945ef890c 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -415,3 +415,10 @@ 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
+end