Skip to content

Commit b8cf6f8

Browse files
committed
Force errors inside lazy sequence
1 parent 55626c9 commit b8cf6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/json_path/test/regression_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
(map (fn [{:keys [selector document result status consensus id] :as query}]
4141
(testing id
4242
(try
43-
(let [current (json-path/at-path selector document)]
43+
(let [current (doall (json-path/at-path selector document))]
4444
(when (or (= "error" status)
4545
(not= result current))
4646
(report-change current query)))

0 commit comments

Comments
 (0)