diff options
| author | FUKUZAWA-Tadashi <[email protected]> | 2013-03-13 00:06:19 +0900 |
|---|---|---|
| committer | FUKUZAWA-Tadashi <[email protected]> | 2013-03-17 21:27:38 +0900 |
| commit | aec3e1c4ff6603350811e672d6c706294f59e44e (patch) | |
| tree | 12e0646e93192aecda1429e5dfc779c8b38f248e /test | |
| parent | 49413a312fab8da3787985e45cff4c3317f12eab (diff) | |
| download | mruby-aec3e1c4ff6603350811e672d6c706294f59e44e.tar.gz mruby-aec3e1c4ff6603350811e672d6c706294f59e44e.zip | |
refactor heredoc identifier
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/literals.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/t/literals.rb b/test/t/literals.rb index eb3190a07..5dc15f135 100644 --- a/test/t/literals.rb +++ b/test/t/literals.rb @@ -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 |
