mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Phrasing
This commit is contained in:
parent
eda4328a92
commit
e60cc2a447
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module Spectator
|
||||||
# This only works if the location of the failed expectation was reported.
|
# This only works if the location of the failed expectation was reported.
|
||||||
# If available, returns a `Location`, otherwise raises `NilAssertionError`.
|
# If available, returns a `Location`, otherwise raises `NilAssertionError`.
|
||||||
def location : Location
|
def location : Location
|
||||||
location? || raise(NilAssertionError.new("Source location of result unavailable"))
|
location? || raise(NilAssertionError.new("Source location of failure unavailable"))
|
||||||
end
|
end
|
||||||
|
|
||||||
# One-word description of the result.
|
# One-word description of the result.
|
||||||
|
|
Loading…
Reference in a new issue