Skip to content

Commit 927d3b9

Browse files
committed
fix: add missing require for pact matchers in query
1 parent 7ab6294 commit 927d3b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pact/consumer_contract/query_string.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def == other
2727
end
2828

2929
def difference(other)
30-
diff(query, other.query)
30+
require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
31+
Pact::Matchers.diff(query, other.query)
3132
end
3233

3334
def query

0 commit comments

Comments
 (0)