1
Fork 0

Update libsyntax tests.

This commit is contained in:
Eli Friedman 2015-10-23 20:35:44 -07:00
parent e5024924ad
commit 56ba8feed6
2 changed files with 13 additions and 15 deletions

View file

@ -856,7 +856,7 @@ mod tests {
#[test] fn parse_stmt_1 () {
assert!(string_to_stmt("b;".to_string()) ==
P(Spanned{
Some(P(Spanned{
node: ast::StmtExpr(P(ast::Expr {
id: ast::DUMMY_NODE_ID,
node: ast::ExprPath(None, ast::Path {
@ -871,7 +871,7 @@ mod tests {
}),
span: sp(0,1)}),
ast::DUMMY_NODE_ID),
span: sp(0,1)}))
span: sp(0,1)})))
}