From e7a58a0ed6ace537fae0064ba592956d71a61e59 Mon Sep 17 00:00:00 2001 From: Yogthos Date: Fri, 5 Jun 2026 13:32:12 -0400 Subject: [PATCH] test: fix transient/strictness spec case (use a set, not a length-2 list) --- test/spec/transients-spec.janet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/transients-spec.janet b/test/spec/transients-spec.janet index d369d9a..2e9bd4f 100644 --- a/test/spec/transients-spec.janet +++ b/test/spec/transients-spec.janet @@ -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}))"])