Get 100% code coverage
[app-scheme79asm.git] / t / Compiler.t
index 847cdb2e72e5777e52479297a927164cc16b69bd..e50107aca0577c7c55aed950ba77d897d1bd0195 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 use Data::Dump::Sexp;
-use Test::More tests => 31;
+use Test::More tests => 32;
 
 BEGIN { use_ok('App::Scheme79asm::Compiler') };
 
@@ -28,6 +28,7 @@ sub is_toplevel {
 }
 
 is_sexp new->process_quoted(to_sexp '5'), '(SYMBOL 3)', 'process_quoted 5';
+is_sexp new->process_quoted(to_sexp 'NIL'), '(LIST 0)', 'process_quoted NIL';
 is_sexp new->process_quoted(to_sexp '()'), '(LIST 0)', 'process_quoted ()';
 is_sexp new->process_quoted(to_sexp '(5 foo)'), '(LIST (LIST (LIST 0) (SYMBOL 3)) (SYMBOL 4))', 'process_quoted (5 foo)';
 is_sexp new->process_quoted(to_sexp '(((5)))'), '(LIST (LIST 0) (LIST (LIST 0) (LIST (LIST 0) (SYMBOL 3))))', 'process_quoted (((5)))';
This page took 0.009496 seconds and 4 git commands to generate.