diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-09-10 23:33:22 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-09-10 23:33:22 +0800 |
| commit | cef52c73c3b60da37e16f02dd0556941f6fea598 (patch) | |
| tree | 8a118902b8316afd30ccc527fc66db3b04fe0574 | |
| parent | fffa89014e5956741eae77c09a7606ac22463576 (diff) | |
| download | mruby-cef52c73c3b60da37e16f02dd0556941f6fea598.tar.gz mruby-cef52c73c3b60da37e16f02dd0556941f6fea598.zip | |
Add Test Case for Issue #460
| -rw-r--r-- | test/t/string.rb | 4 |
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 + |
