Skip to content

Commit

Permalink
fixup! Cursor: fix apply with stateful transducer
Browse files Browse the repository at this point in the history
  • Loading branch information
cnautze committed Aug 26, 2024
1 parent 40d1316 commit 550b1ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/exoscale/vinyl/cursor_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
(ds/with-build-fdb
(fn [] (let [cursor (from-iterator (make-faulty-iterator [1 2 3 4 5 6 7 8 9] 5))]
@(store/run-async *db* (fn [_store] (apply-transforms
cursor
{::store/reducer (completing (fn [_acc items] (swap! processed conj items)))
::store/reduce-init []
::store/transducer (partition-all 3)})))
cursor
{::store/reducer (completing (fn [_acc items] (swap! processed conj items)))
::store/reduce-init []
::store/transducer (partition-all 3)})))
@processed)))))))

0 comments on commit 550b1ce

Please sign in to comment.