[parser] Integration test of parsing a single Sym!

This commit is contained in:
Eryn Wells 2018-08-25 11:46:42 -07:00
parent 9a728c9489
commit d312c41dc7
2 changed files with 24 additions and 1 deletions

View file

@ -20,7 +20,7 @@ use program_parser::ProgramParser;
/// The output of calling `parse()` on a Parser is one of these Result objects.
pub type Result = std::result::Result<Obj, ParseError>;
#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub enum ParseError {
LexerError{msg: String},
ParserError{msg: String}