mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Consistent comments
This commit is contained in:
parent
de1af7178c
commit
a2ef0fa46a
1 changed files with 2 additions and 2 deletions
|
@ -51,13 +51,13 @@ module Spectator::Matchers
|
|||
end
|
||||
|
||||
if missing.empty?
|
||||
# Contents are identical.
|
||||
# Contents are present.
|
||||
FailedMatchData.new(description, "#{actual.label} contains #{expected.label}",
|
||||
expected: "Not #{expected.value.inspect}",
|
||||
actual: actual_value.inspect
|
||||
)
|
||||
else
|
||||
# Content differs.
|
||||
# Content is missing.
|
||||
SuccessfulMatchData.new(description)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue