ref: bd27f0f713c79a7fd6124dfce9238024e0766308
parent: 49564ad96a2acfef1ffc6cb8ee32bfb51a29f450
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Apr 15 22:30:39 EDT 2025
defstruct tests: fix a missing argument in comparison
--- a/test/defstruct.sl
+++ b/test/defstruct.sl
@@ -12,7 +12,7 @@
(assert (not (eqv? #('sa :a NIL :b NIL :c 3) ax)))
(assert (not (sa-a ax))) ; a defaults to NIL
(assert (not (sa-b ax))) ; so is b
-(assert (= (sa-c ax)))
+(assert (= (sa-c ax) 3))
(def ax (make-sa :a 1 :b 2))
(assert (sa? ax))
(assert (= (sa-a ax) 1))