mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add tests for override cases
Fix negated? method.
This commit is contained in:
parent
24066c46a0
commit
946604b737
2 changed files with 106 additions and 5 deletions
|
@ -66,10 +66,5 @@ module Spectator::Expectations
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Indicates whether the match data should be negated.
|
||||
private def negated?
|
||||
!@match_data.override? && @negated
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue