diff options
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_syntax.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index 811a21937e..7a6c66d782 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -2248,11 +2248,11 @@ eom conds.each do |cond| code = %Q{ def my_method - var = nil + var = "there" if #{cond} - "here" + var = "here" end - raise + raise var end begin my_method |
