diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-10-30 21:38:55 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2019-10-31 08:39:48 +0900 |
commit | 1c03026ea3cd90cbc37eb4c612aca3c6129032c8 (patch) | |
tree | 88ed03fb0859a39f4ddb2a8c9c8f2c4db1e4d2f4 /tool | |
parent | 5f8795a07b163fe3f373ad443db1949de21c747b (diff) | |
download | ruby-1c03026ea3cd90cbc37eb4c612aca3c6129032c8.tar.gz |
Try to run assert_output_unchanged with racc tests
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index 1c4a254dd0..63d79ae2aa 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -28,6 +28,9 @@ module Test require_relative '../../envutil' # for ruby core testing include MiniTest::Assertions + + # Compatibility hack for assert_raise + Test::Unit::AssertionFailedError = MiniTest::Assertion else module MiniTest class Assertion < Exception; end |