summaryrefslogtreecommitdiffhomepage
path: root/test/t
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-20 14:32:05 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-20 14:32:05 -0800
commitaaf5f3a0f556626bd401519846cca58d31c99716 (patch)
tree8c693e198bf9f6a944ea2862da4aa763c8344a8d /test/t
parentebdb8e985db5afab8f1fe22c53dfe2cf6a9ce7e3 (diff)
parentf04d9b1c50427870df3391fd1cfb83c2b1ee5a17 (diff)
downloadmruby-aaf5f3a0f556626bd401519846cca58d31c99716.tar.gz
mruby-aaf5f3a0f556626bd401519846cca58d31c99716.zip
Merge pull request #753 from masamitsu-murase/modify_handling_of_quoted_string_literal
Modify handling of quoted non-expanded string literal
Diffstat (limited to 'test/t')
-rw-r--r--test/t/literals.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/t/literals.rb b/test/t/literals.rb
index 700c4c846..c996af3f3 100644
--- a/test/t/literals.rb
+++ b/test/t/literals.rb
@@ -40,9 +40,10 @@ assert('Literals Strings Quoted Non-Expanded', '8.7.6.3.4') do
d = %q<abc>
e = %q/abc/
f = %q/ab\/c/
+ g = %q{#{a}}
a == 'abc' and b == 'abc' and c == 'abc' and d == 'abc' and
- e == 'abc' and f == 'ab/c'
+ e == 'abc' and f == 'ab/c' and g == '#{a}'
end
assert('Literals Strings Quoted Expanded', '8.7.6.3.5') do