Skip to content

Commit b9ff319

Browse files
committed
Fix tests
1 parent 992a7e9 commit b9ff319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sqlparser_common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7898,7 +7898,7 @@ fn parse_exists_subquery() {
78987898
#[test]
78997899
fn parse_create_database() {
79007900
let sql = "CREATE DATABASE mydb";
7901-
match verified_stmt(sql) {
7901+
match all_dialects_except(|d| d.is::<SnowflakeDialect>()).verified_stmt(sql) {
79027902
Statement::CreateDatabase {
79037903
db_name,
79047904
if_not_exists,
@@ -7917,7 +7917,7 @@ fn parse_create_database() {
79177917
#[test]
79187918
fn parse_create_database_ine() {
79197919
let sql = "CREATE DATABASE IF NOT EXISTS mydb";
7920-
match verified_stmt(sql) {
7920+
match all_dialects_except(|d| d.is::<SnowflakeDialect>()).verified_stmt(sql) {
79217921
Statement::CreateDatabase {
79227922
db_name,
79237923
if_not_exists,

0 commit comments

Comments
 (0)