mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 13:44:15 +00:00
Fix missing brackets test
This commit is contained in:
parent
bb1b0774f1
commit
9f742ffc3d
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ mod tests {
|
|||
let mut iter = TokenIterator::new("(").peekable();
|
||||
let expr = parse_term(&mut iter);
|
||||
match expr {
|
||||
Expr::Error(ref s) if s == "Expected ), got eof" => (),
|
||||
Expr::Error(ref s) => assert_eq!(s, "Expected ), got Eof"),
|
||||
x => panic!("Wrong result: {}", x),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue