diff --git a/tests/step1_read_print.mal b/tests/step1_read_print.mal index 5a2b9155..eec31c9d 100644 --- a/tests/step1_read_print.mal +++ b/tests/step1_read_print.mal @@ -50,6 +50,8 @@ abc-def ;=>(** 1 2) (* -3 6) ;=>(* -3 6) +(()()) +;=>(() ()) ;; Test commas as whitespace (1 2, 3,,,,),, @@ -139,6 +141,8 @@ false ;=>[+ 1 [+ 2 3]] [ + 1 [+ 2 3 ] ] ;=>[+ 1 [+ 2 3]] +([]) +;=>([]) ;; Testing read of hash maps {} @@ -155,6 +159,8 @@ false ;=>{"a" {"b" {"cde" 3}}} { :a {:b { :cde 3 } }} ;=>{:a {:b {:cde 3}}} +({}) +;=>({}) ;; Testing read of comments ;; whole line comment (not an exception)