summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-09-12 07:40:38 +0900
committerYukihiro Matsumoto <[email protected]>2012-09-12 07:40:38 +0900
commitcdbd116c49078ab32d70f6a0f8cf9dcfa694a7a3 (patch)
tree1cfd1968cd0407a9bf84989be7cdd6b7ab492747 /test
parent2edee29e685d51ddd5ba2cc4b80f93eaa33ae40f (diff)
parentbcd77200ac829311c745d260053ee9a3ec5d1f16 (diff)
downloadmruby-cdbd116c49078ab32d70f6a0f8cf9dcfa694a7a3.tar.gz
mruby-cdbd116c49078ab32d70f6a0f8cf9dcfa694a7a3.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'test')
-rw-r--r--test/Makefile4
-rw-r--r--test/t/string.rb4
2 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 921442b28..18bc79b5a 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,5 +1,5 @@
-# makefile discription.
-# basic build file for mruby library (Ruby part)
+# Makefile description.
+# basic build file for the mruby testing environment mrbtest
# project-specific macros
# extension of the executable-file is modifiable(.exe .out ...)
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
+