mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Call fail
instead of failure
on visitor
This commit is contained in:
parent
618e9e195a
commit
d5c4d5e822
1 changed files with 2 additions and 2 deletions
|
@ -17,12 +17,12 @@ module Spectator
|
|||
|
||||
# Calls the `failure` method on *visitor*.
|
||||
def accept(visitor)
|
||||
visitor.failure
|
||||
visitor.fail
|
||||
end
|
||||
|
||||
# Calls the `failure` method on *visitor*.
|
||||
def accept(visitor)
|
||||
visitor.failure(yield self)
|
||||
visitor.fail(yield self)
|
||||
end
|
||||
|
||||
# Indicates whether the example passed.
|
||||
|
|
Loading…
Reference in a new issue