diff options
author | Eduardo Julian | 2017-04-14 23:08:41 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-04-14 23:08:41 -0400 |
commit | 368226ff76ea0a9e29b333b82f287305051593cb (patch) | |
tree | b4bd4e33cb56218f5af457ad62e1f8e6cc0130ff /new-luxc/test | |
parent | f619a094d6044635176bd2736f8fd0ca1c7372d9 (diff) |
- The lexer now takes cursors into account.
Diffstat (limited to '')
-rw-r--r-- | new-luxc/test/test/luxc/parser.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/test/test/luxc/parser.lux b/new-luxc/test/test/luxc/parser.lux index 7ccc0c451..d6b420660 100644 --- a/new-luxc/test/test/luxc/parser.lux +++ b/new-luxc/test/test/luxc/parser.lux @@ -71,11 +71,11 @@ (test: "Lux code parser." [sample ast^] (assert "Can parse Lux code." - (|> &;ast^ + (|> (&;ast^ default-cursor) (l;run (ast;to-text sample)) (case> (#;Left error) false - (#;Right parsed) + (#;Right [parsed _]) (:: ast;Eq<AST> = parsed sample)) ))) |