Add string test for string interpolation

This commit is contained in:
Daniel Bovensiepen
2012-06-02 16:44:16 +08:00
parent 92f1925218
commit 6ec149c4e3
+8
View File
@@ -319,3 +319,11 @@ assert('String#upcase!', '15.2.10.5.43') do
a == 'ABC'
end
# Not ISO specified
assert('String interpolation (mrb_str_concat for shared strings)') do
a = "A" * 32
"#{a}:" == "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:"
end