test: use Test::Unit class.
This commit is contained in:
parent
7aaa7e1b79
commit
5c2fa1fc1f
@ -83,7 +83,7 @@ module Homebrew
|
|||||||
exec(*args)
|
exec(*args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
rescue Homebrew::Assertions::AssertionFailed => e
|
rescue ::Test::Unit::AssertionFailedError => e
|
||||||
ofail "#{f.full_name}: failed"
|
ofail "#{f.full_name}: failed"
|
||||||
puts e.message
|
puts e.message
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user