more complex tests

This commit is contained in:
Aidan Hahn 2021-07-19 23:59:03 -07:00
parent df5cb47cb4
commit 2c30975571
No known key found for this signature in database
GPG key ID: 327711E983899316
6 changed files with 179 additions and 320 deletions

View file

@ -46,7 +46,7 @@ mod lex_tests {
#[test]
fn test_bad_symbol() {
let document: &str = "(as;dd)";
let output: &str = "Problem lexing document: \"Unparsable token:as;dd\"";
let output: &str = "Problem lexing document: \"Unparsable token: as;dd\"";
match lex(document.to_string()) {
Ok(tree) => {
print!("Bad token yielded: {}\n", ast_to_string(tree));