Skip to content

Commit f16f5a0

Browse files
committed
improve the compatibility of minitest
1 parent fb29eec commit f16f5a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lib/core_assertions.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ module CoreAssertions
3030
include MiniTest::Assertions
3131
else
3232
module MiniTest
33-
class Skip; end
33+
class Assertion < Exception; end
34+
class Skip < Assertion; end
3435
end
3536

3637
require 'pp'

0 commit comments

Comments
 (0)