summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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