@@ -11431,9 +11431,7 @@ fn parse_bang_not() {
1143111431 for & sql in & sql_statements {
1143211432 assert_eq ! (
1143311433 dialects. parse_sql_statements( sql) . unwrap_err( ) ,
11434- ParserError :: ParserError (
11435- "current dialect support bang not operator, but with wrong syntax" . to_string( )
11436- )
11434+ ParserError :: ParserError ( "No infix parser for token ExclamationMark" . to_string( ) )
1143711435 ) ;
1143811436 }
1143911437
@@ -11487,7 +11485,7 @@ fn parse_factorial_operator() {
1148711485
1148811486 // Due to the exclamation mark, which is both part of the `bang not` operator
1148911487 // and the `factorial` operator, additional filtering not supports
11490- // `bang not` operator is required here.
11488+ // `bang not` operator is required here.
1149111489 let dialects =
1149211490 all_dialects_where ( |d| !d. supports_factorial_operator ( ) && !d. supports_bang_not_operator ( ) ) ;
1149311491
@@ -11500,16 +11498,14 @@ fn parse_factorial_operator() {
1150011498
1150111499 // Due to the exclamation mark, which is both part of the `bang not` operator
1150211500 // and the `factorial` operator, additional filtering supports
11503- // `bang not` operator is required here.
11501+ // `bang not` operator is required here.
1150411502 let dialects =
1150511503 all_dialects_where ( |d| !d. supports_factorial_operator ( ) && d. supports_bang_not_operator ( ) ) ;
1150611504
1150711505 for & sql in & sql_statements {
1150811506 assert_eq ! (
1150911507 dialects. parse_sql_statements( sql) . unwrap_err( ) ,
11510- ParserError :: ParserError (
11511- "current dialect support bang not operator, but with wrong syntax" . to_string( )
11512- )
11508+ ParserError :: ParserError ( "No infix parser for token ExclamationMark" . to_string( ) )
1151311509 ) ;
1151411510 }
1151511511}
0 commit comments