summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2017-11-10 01:25:30 -0500
committerOwen Jacobson <owen@grimoire.ca>2017-11-11 01:16:01 -0500
commite4fb8604aa2fc572a3aeeace1c32de7339d346b5 (patch)
tree9f58493ab73ada22943bf009b3a910c3236dca8d /bin
parentf33c395f833567b665d14fe0c577799605e8091e (diff)
Testing fixes.
* Add a top-level test that roundtrips sequences of tokens. (This found a real bug. Thanks, Hypothesis!) * Remove type conversion from the tokenizer. This simplifies the code, and makes testing considerably easier. * Fix some bugs in string literal parsing (again: Thanks, Hypothesis!) Document the test cases, and the case-by-case strategy, better. This also involved prying apart some tests that cover multiple cases. Stop treating empty strings as if they were EOFs. (Thanks, Hypothesis!) fixup! Stop treating empty strings as if they were EOFs. (Thanks, Hypothesis!) Remove type conversion from the tokenizer. It turns out that this made the tokenizer harder to test, because it was doing too many things. The tokenizer now _only_ divides the input port into tokens, without parsing or converting those tokens. Fix up tests for fuck
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions