step 1: Test reading some simple nested collections.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 7 Jul 2019 09:09:01 +0000 (10:09 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 7 Jul 2019 09:09:01 +0000 (10:09 +0100)
commitbeeffb021cfaf12a87ff29cf6bbd92db1d4f683b
treed5c5ab37f9341f2e49138fcbb3d882ff01b27011
parenteacb46df65b0d1cb01482e3f61758c85730e8990
step 1: Test reading some simple nested collections.

These tests are intended to catch the cases where the routine for
reading a list, vector, or hashmap fails to consume the trailing token
(')', ']', or '}' as the case may be) from the input.  None of the
existing step 1 tests detected this, and I only found it by playing
around in the REPL.
tests/step1_read_print.mal