refactor heredoc identifier

This commit is contained in:
FUKUZAWA-Tadashi
2013-03-13 00:06:19 +09:00
committed by Masaki Muranaka
parent 7c1526da6f
commit 3bcaeb09b4
3 changed files with 81 additions and 102 deletions
+3 -1
View File
@@ -195,9 +195,11 @@ assert('Literals Symbol', '8.7.6.6') do
f = %s[asd \[
qwe]
g = %s/foo#{1+2}bar/
h = %s{{foo bar}}
a == :'asd qwe' and b == :"foo bar" and c == :a3b and d == :asd and
e == :' foo )' and f == :"asd [\nqwe" and g == :'foo#{1+2}bar'
e == :' foo )' and f == :"asd [\nqwe" and g == :'foo#{1+2}bar' and
h == :'{foo bar}'
end
# Not Implemented ATM assert('Literals Regular expression', '8.7.6.5') do