mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix test
This commit is contained in:
parent
75c4bcad54
commit
e42e5b30bb
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ describe Spectator::Matchers::HaveMatcher do
|
|||
context "against equal and matching type and regex" do
|
||||
it "is true" do
|
||||
array = [:a, 42, "FOO"]
|
||||
search = {Symbol, Int32, String}
|
||||
search = {:a, Int32, /foo/i}
|
||||
partial = Spectator::Expectations::ValueExpectationPartial.new(array)
|
||||
matcher = Spectator::Matchers::HaveMatcher.new(search)
|
||||
matcher.match?(partial).should be_true
|
||||
|
|
Loading…
Reference in a new issue