diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-20 01:46:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-20 01:46:52 +0000 |
commit | 8a3201dae6addec4f5c7d8717f9a34851a4d3e75 (patch) | |
tree | 76ec063969ca24279eb977b755c9f265a9eee86d /test/ruby/test_parse.rb | |
parent | dd3bbc6005f524f685634917ea3b207643f823da (diff) | |
download | ruby-8a3201dae6addec4f5c7d8717f9a34851a4d3e75.tar.gz |
* test/ruby: make more ruby-mode.el friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_parse.rb')
-rw-r--r-- | test/ruby/test_parse.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index 5dc3caf561..49ecfc56ed 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -517,8 +517,8 @@ class TestParse < Test::Unit::TestCase x = nil assert_raise(SyntaxError) do - eval %q( -<<FOO + eval %Q( +<\<FOO ) end @@ -531,8 +531,8 @@ FOO end assert_raise(SyntaxError) do - eval %q( -<<" + eval %Q( +<\<\" ) end @@ -558,7 +558,7 @@ FOO end assert_nothing_raised do - eval "x = <<FOO\r\n1\r\nFOO" + eval "x = <<""FOO\r\n1\r\nFOO" end assert_equal("1\n", x) end |