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