Skip to content

Commit 44ceeda

Browse files
committed
Remove test that now parses
1 parent 54027b6 commit 44ceeda

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/sqlparser_common.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11125,16 +11125,9 @@ fn parse_trailing_comma() {
1112511125
);
1112611126
trailing_commas.verified_stmt(r#"SELECT "from" FROM "from""#);
1112711127

11128-
// doesn't allow any trailing commas
11128+
// doesn't allow all trailing commas
1112911129
let trailing_commas = TestedDialects::new(vec![Box::new(GenericDialect {})]);
1113011130

11131-
assert_eq!(
11132-
trailing_commas
11133-
.parse_sql_statements("SELECT name, age, from employees;")
11134-
.unwrap_err(),
11135-
ParserError::ParserError("Expected an expression, found: from".to_string())
11136-
);
11137-
1113811131
assert_eq!(
1113911132
trailing_commas
1114011133
.parse_sql_statements("REVOKE USAGE, SELECT, ON p TO u")

0 commit comments

Comments
 (0)