summaryrefslogtreecommitdiffhomepage
path: root/test/t/string.rb
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-09-10 23:33:22 +0800
committerDaniel Bovensiepen <[email protected]>2012-09-10 23:33:22 +0800
commitcef52c73c3b60da37e16f02dd0556941f6fea598 (patch)
tree8a118902b8316afd30ccc527fc66db3b04fe0574 /test/t/string.rb
parentfffa89014e5956741eae77c09a7606ac22463576 (diff)
downloadmruby-cef52c73c3b60da37e16f02dd0556941f6fea598.tar.gz
mruby-cef52c73c3b60da37e16f02dd0556941f6fea598.zip
Add Test Case for Issue #460
Diffstat (limited to 'test/t/string.rb')
-rw-r--r--test/t/string.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/string.rb b/test/t/string.rb
index 3338e4318..27af38a4c 100644
--- a/test/t/string.rb
+++ b/test/t/string.rb
@@ -335,3 +335,7 @@ assert('String interpolation (mrb_str_concat for shared strings)') do
"#{a}:" == "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:"
end
+assert('Check the usage of a NUL character') do
+ "qqq\0ppp"
+end
+