diff options
Diffstat (limited to 'sample/test.rb')
-rw-r--r-- | sample/test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sample/test.rb b/sample/test.rb index b342fb8541..663a8695e1 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -865,6 +865,13 @@ s = "a string" s[0..s.size]="another string" test_ok(s == "another string") +s = <<EOS +#{ +[1,2,3].join(",") +} +EOS +test_ok(s == "1,2,3\n") + test_check "assignment" a = nil test_ok(defined?(a)) |