diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_literal.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_literal.rb b/test/ruby/test_literal.rb index b0fd4680b3..8732d8f0d0 100644 --- a/test/ruby/test_literal.rb +++ b/test/ruby/test_literal.rb @@ -640,6 +640,10 @@ class TestRubyLiteral < Test::Unit::TestCase end begin r2 = eval(s) + rescue ArgumentError + # Debug log for a random failure: ArgumentError: SyntaxError#path changed + $stderr.puts "TestRubyLiteral#test_float failed: %p" % s + raise rescue SyntaxError => e r2 = :err rescue NameError |