diff options
-rw-r--r-- | test/ruby/test_system.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb index 1819982250..fbed36ad57 100644 --- a/test/ruby/test_system.rb +++ b/test/ruby/test_system.rb @@ -10,6 +10,8 @@ class TestSystem < Test::Unit::TestCase } code.force_encoding("us-ascii") catch {|tag| eval(code, binding, fname, 0)} + rescue SyntaxError + false end def test_system |