summaryrefslogtreecommitdiff
path: root/tool/lib/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lib/test/unit')
-rw-r--r--tool/lib/test/unit/assertions.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/lib/test/unit/assertions.rb b/tool/lib/test/unit/assertions.rb
index c61f296da9..b99fb19adf 100644
--- a/tool/lib/test/unit/assertions.rb
+++ b/tool/lib/test/unit/assertions.rb
@@ -303,5 +303,9 @@ EOT
template.gsub(/\G((?:[^\\]|\\.)*?)(\\)?\?/) { $1 + ($2 ? "?" : mu_pp(arguments.shift)) }
end
end
+
+ # Compatibility hack for assert_raise
+ AssertionFailedError = MiniTest::Assertion
+
end
end