Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
klauswuestefeld committed May 23, 2024
1 parent c32cecf commit 1a83d2d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/prevayler_clj_aws/core_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
prev1 (prev! opts)]
(prevayler/handle! prev1 "A")
(prevayler/handle! prev1 "B")
(prevayler/snapshot! prev1))
(let [opts (gen-opts :initial-state [] :business-fn (constantly "rubbish"))
prev2 (prev! opts)]
(is (= ["A" "B"] @prev2)))))
(prevayler/snapshot! prev1)
(let [prev2 (prev! (assoc opts :business-fn (constantly "rubbish")))]
(is (= ["A" "B"] @prev2))))))

0 comments on commit 1a83d2d

Please sign in to comment.