commit | 954046cda30865116b3e2b1fb403949d799de095 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Tue May 30 21:49:42 2017 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Wed May 31 16:00:01 2017 -0700 |
tree | 29b1bbfb6d7087e2eed91366bc5af0205334e86a | |
parent | 7b9e02ff9024f9f74f0c4dc326d9f06320b034cc [diff] [blame] |
Finish porting to the `Synom` trait
diff --git a/tests/test_expr.rs b/tests/test_expr.rs index 6216191..749d50f 100644 --- a/tests/test_expr.rs +++ b/tests/test_expr.rs
@@ -86,7 +86,7 @@ } "#; - let actual = parse_crate(raw).unwrap(); + let actual = raw.parse::<Crate>().unwrap(); assert_eq!(&actual.items[0].ident, "catch");