aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-16 08:21:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-16 08:21:28 +0000
commit953f511bb9e8a2fb75b53546b7796936bc4c369d (patch)
tree2d39520658531c89eed43988199766e721750ceb /test/ruby/test_rubyoptions.rb
parentde26eababa2e77e5c9274eac5633a62355bcc7b1 (diff)
downloadruby-953f511bb9e8a2fb75b53546b7796936bc4c369d.tar.gz
* test/ruby/test_{regexp,rubyoptions}.rb: trivial change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index afa5039353..683677c160 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -291,6 +291,7 @@ class TestRubyOptions < Test::Unit::TestCase
t.puts "end"
t.puts "0.times do"
t.puts " if b = 2"
+ t.puts " a += b"
t.puts " end"
t.puts "end"
t.close
@@ -382,8 +383,8 @@ class TestRubyOptions < Test::Unit::TestCase
---------------------------\n
(?:
--\sRuby\slevel\sbacktrace\sinformation\s----------------------------------------\n
- -e:1:in\s`<main>'\n
- -e:1:in\s`kill'\n
+ -e:1:in\s\`<main>\'\n
+ -e:1:in\s\`kill\'\n
)?
\n
(?: