mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix failure message
This commit is contained in:
parent
1d44f582e2
commit
8143229fdb
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Spectator::Matchers
|
|||
# The message should typically only contain the test expression labels.
|
||||
# Actual values should be returned by `#values`.
|
||||
private def failure_message(actual) : String
|
||||
"#{actual.label} does not match #{expected.label}"
|
||||
"#{actual.label} does not contain #{expected.label}"
|
||||
end
|
||||
|
||||
# Message displayed when the matcher isn't satisifed and is negated.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue