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
|
end
|
||||||
|
|
||||||
if missing.empty?
|
if missing.empty?
|
||||||
# Contents are identical.
|
# Contents are present.
|
||||||
FailedMatchData.new(description, "#{actual.label} contains #{expected.label}",
|
FailedMatchData.new(description, "#{actual.label} contains #{expected.label}",
|
||||||
expected: "Not #{expected.value.inspect}",
|
expected: "Not #{expected.value.inspect}",
|
||||||
actual: actual_value.inspect
|
actual: actual_value.inspect
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
# Content differs.
|
# Content is missing.
|
||||||
SuccessfulMatchData.new(description)
|
SuccessfulMatchData.new(description)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue