Merge pull request #227 from bovi/add-string-test

Add string test for string interpolation
This commit is contained in:
Yukihiro "Matz" Matsumoto
2012-06-02 06:33:02 -07:00
+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