tests: Add optional list and vector eqaulity tests
authorDov Murik <dov.murik@gmail.com>
Sun, 21 Jul 2019 10:10:17 +0000 (13:10 +0300)
committerDov Murik <dov.murik@gmail.com>
Sun, 21 Jul 2019 10:14:07 +0000 (13:14 +0300)
tests/step4_if_fn_do.mal

index 0237d22..2d37b57 100644 (file)
@@ -431,6 +431,8 @@ nil
 ;=>false
 (= :abc ":abc")
 ;=>false
+(= (list :abc) (list :abc))
+;=>true
 
 ;; Testing vector truthiness
 (if [] 7 8)
@@ -465,6 +467,8 @@ nil
 ;=>true
 (= [7 8] [7 8])
 ;=>true
+(= [:abc] [:abc])
+;=>true
 (= (list 1 2) [1 2])
 ;=>true
 (= (list 1) [])