From f04d9b1c50427870df3391fd1cfb83c2b1ee5a17 Mon Sep 17 00:00:00 2001 From: Masamitsu MURASE Date: Sun, 20 Jan 2013 05:00:06 +0900 Subject: Add a test for quoted non-expanded string literal. --- test/t/literals.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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 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 -- cgit v1.2.3