mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix tests to account for negation wrappers
This commit is contained in:
parent
37f2ce99a3
commit
0ca0ba0a55
19 changed files with 53 additions and 45 deletions
|
@ -213,7 +213,7 @@ describe Spectator::Matchers::EndWithMatcher do
|
|||
partial = new_partial(value)
|
||||
matcher = Spectator::Matchers::EndWithMatcher.new(last)
|
||||
match_data = matcher.match(partial)
|
||||
match_data.values[:expected].should eq(last)
|
||||
match_data.values[:expected].value.should eq(last)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue