Skip to content

Commit 00168b1

Browse files
author
Ronald Holshausen
committedOct 27, 2019
chore: small code cleanup
1 parent 079e673 commit 00168b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/matchers/src/main/kotlin/au/com/dius/pact/core/matchers/RequestMatching.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class RequestMatching(private val expectedInteractions: List<RequestResponseInte
8585
return (listOf(Matching.matchMethod(expected.method, actual.method)) +
8686
Matching.matchPath(expected, actual) +
8787
Matching.matchQuery(expected, actual) +
88-
Matching.matchCookie(expected.cookie() ?: emptyList(), actual.cookie() ?: emptyList()) +
88+
Matching.matchCookie(expected.cookie(), actual.cookie()) +
8989
Matching.matchRequestHeaders(expected, actual) +
9090
Matching.matchBody(expected, actual, allowUnexpectedKeys)
9191
).filterNotNull()

0 commit comments

Comments
 (0)