Skip to content

Commit 9f3fb0c

Browse files
committed
Fix payloadIsValidJson return
1 parent 62236ce commit 9f3fb0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/kotlin/org/evomaster/core/output/service/HttpWsTestCaseWriter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ abstract class HttpWsTestCaseWriter : ApiTestCaseWriter() {
158158
val mapper = ObjectMapper()
159159
return try {
160160
mapper.readTree(json)
161-
false
162-
} catch (e: JsonProcessingException) {
163161
true
162+
} catch (e: JsonProcessingException) {
163+
false
164164
}
165165
}
166166

0 commit comments

Comments
 (0)