summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-09-10 17:04:53 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-09-10 17:04:53 -0700
commit2dbd6faf416c35ba674e5ecac6c665f2171ef5f7 (patch)
treeb2f57ceacafe97d82c8dfd31df54678221fd7071 /test
parent835eac623456fb12b3639f9720f8d05b000e15c2 (diff)
parentcef52c73c3b60da37e16f02dd0556941f6fea598 (diff)
downloadmruby-2dbd6faf416c35ba674e5ecac6c665f2171ef5f7.tar.gz
mruby-2dbd6faf416c35ba674e5ecac6c665f2171ef5f7.zip
Merge pull request #462 from bovi/test-for-460
Add Test Case for Issue #460
Diffstat (limited to 'test')
-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
+