test: fix transient/strictness spec case (use a set, not a length-2 list)

This commit is contained in:
Yogthos 2026-06-05 13:32:12 -04:00
parent a4a48a8520
commit e7a58a0ed6

View file

@ -86,7 +86,7 @@
["persistent! on nil" :throws "(persistent! nil)"]
["pop! on transient map" :throws "(pop! (transient {:a 1}))"]
["dissoc! on tset" :throws "(dissoc! (transient #{1}) 1)"]
["conj! map bad item" :throws "(conj! (transient {}) (list :a 1))"]
["conj! map bad item" :throws "(conj! (transient {}) #{:a 1})"]
["conj! no args" "[]" "(persistent! (conj!))"]
["conj! identity" "[1 2]" "(conj! [1 2])"]
["conj! map merges map" "{:a 1, :b 2}" "(persistent! (conj! (transient {:a 1}) {:b 2}))"])