aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
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
(?: