Skip to content

Commit

Permalink
Inc buffer size im atomiv test (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
verberktstan authored Feb 29, 2024
1 parent f02a2ab commit 1a18a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/swark/atomic_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[swark.atomic :as sut]))

(t/deftest atomic
(let [atomic (sut/atomic "Hello" :in-buffer-size 1 :out-buffer-size 1)
(let [atomic (sut/atomic "Hello" :in-buffer-size 2 :out-buffer-size 2)
transact! (partial sut/put! atomic)]
(t/is (= "Hello, World!" (transact! str ", " "World!")))
(t/is (nil? (transact! :not-a-fn ", " "World!")))
Expand Down

0 comments on commit 1a18a7e

Please sign in to comment.