Merge pull request #406 from chr15m/lib-alias-hacks
[jackhill/mal.git] / tests / step7_quote.mal
index 973acbc..b36835e 100644 (file)
@@ -25,6 +25,8 @@ a
 ;=>(1 2 3 4 5 6)
 (concat (concat))
 ;=>()
+(concat (list) (list))
+;=>()
 
 (def! a (list 1 2))
 (def! b (list 3 4))
@@ -154,7 +156,7 @@ b
 ;;
 ;; -------- Optional Functionality --------
 
-;; Testing cons, concat, first, rest with vectors
+;; Testing cons and concat with vectors
 
 (cons [1] [2 3])
 ;=>([1] 2 3)
@@ -162,6 +164,8 @@ b
 ;=>(1 2 3)
 (concat [1 2] (list 3 4) [5 6])
 ;=>(1 2 3 4 5 6)
+(concat [1 2])
+;=>(1 2)
 
 ;; Testing unquote with vectors
 (def! a 8)