diff options
| author | FUKUZAWA-Tadashi <[email protected]> | 2013-03-13 00:06:19 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-19 11:03:08 +0900 |
| commit | 3bcaeb09b4079c0d428f4fa76838a67bb5742d7a (patch) | |
| tree | ed8dface24cde5c106ce6b02aa468231c5b064b9 /test | |
| parent | 7c1526da6faa27c27fa440cb550d505caac3d732 (diff) | |
| download | mruby-3bcaeb09b4079c0d428f4fa76838a67bb5742d7a.tar.gz mruby-3bcaeb09b4079c0d428f4fa76838a67bb5742d7a.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 |
