From 2c0317c817e1bae1976e993704244e80db8d1530 Mon Sep 17 00:00:00 2001 From: Klaus Wuestefeld Date: Tue, 21 May 2024 18:06:07 -0300 Subject: [PATCH] WIP --- test/prevayler_clj_aws/core_test.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/prevayler_clj_aws/core_test.clj b/test/prevayler_clj_aws/core_test.clj index dac7de8..2d960fa 100644 --- a/test/prevayler_clj_aws/core_test.clj +++ b/test/prevayler_clj_aws/core_test.clj @@ -128,5 +128,6 @@ (prevayler/handle! prev1 1) (prevayler/handle! prev1 2) (prevayler/snapshot! prev1)) - (let [prev2 (gen-opts :initial-state [] :business-fn (constantly "rubbish"))] + (let [opts (gen-opts :initial-state [] :business-fn (constantly "rubbish")) + prev2 (prev! opts)] (is (= [1 2] @prev2)))))