mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
chore: remove redundant punctuation (#1434)
This commit is contained in:
parent
04a53e5753
commit
71318df8b9
7 changed files with 16 additions and 16 deletions
|
@ -1230,13 +1230,13 @@ fn parse_snowflake_declare_result_set() {
|
|||
|
||||
let error_sql = "DECLARE res RESULTSET DEFAULT";
|
||||
assert_eq!(
|
||||
ParserError::ParserError("Expected: an expression:, found: EOF".to_owned()),
|
||||
ParserError::ParserError("Expected: an expression, found: EOF".to_owned()),
|
||||
snowflake().parse_sql_statements(error_sql).unwrap_err()
|
||||
);
|
||||
|
||||
let error_sql = "DECLARE res RESULTSET :=";
|
||||
assert_eq!(
|
||||
ParserError::ParserError("Expected: an expression:, found: EOF".to_owned()),
|
||||
ParserError::ParserError("Expected: an expression, found: EOF".to_owned()),
|
||||
snowflake().parse_sql_statements(error_sql).unwrap_err()
|
||||
);
|
||||
}
|
||||
|
@ -1328,13 +1328,13 @@ fn parse_snowflake_declare_variable() {
|
|||
|
||||
let error_sql = "DECLARE profit INT DEFAULT";
|
||||
assert_eq!(
|
||||
ParserError::ParserError("Expected: an expression:, found: EOF".to_owned()),
|
||||
ParserError::ParserError("Expected: an expression, found: EOF".to_owned()),
|
||||
snowflake().parse_sql_statements(error_sql).unwrap_err()
|
||||
);
|
||||
|
||||
let error_sql = "DECLARE profit DEFAULT";
|
||||
assert_eq!(
|
||||
ParserError::ParserError("Expected: an expression:, found: EOF".to_owned()),
|
||||
ParserError::ParserError("Expected: an expression, found: EOF".to_owned()),
|
||||
snowflake().parse_sql_statements(error_sql).unwrap_err()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue