Add inspect to mock updater so test failures are readable
This commit is contained in:
parent
ef9f6ec4af
commit
191e017d56
@ -30,6 +30,10 @@ class UpdaterTests < Homebrew::TestCase
|
|||||||
def expectations_met?
|
def expectations_met?
|
||||||
@expected == @called
|
@expected == @called
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class.name}>"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def fixture(name)
|
def fixture(name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user