Skip to content

Commit 77c567c

Browse files
committed
Remove std prefix
1 parent 070d38a commit 77c567c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/sqlparser_common.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -12447,8 +12447,8 @@ fn parse_create_table_with_enum_types() {
1244712447
let sql = "CREATE TABLE t0 (foo ENUM8('a' = 1, 'b' = 2), bar ENUM16('a' = 1, 'b' = 2), baz ENUM('a', 'b'))";
1244812448
match all_dialects().verified_stmt(sql) {
1244912449
Statement::CreateTable(CreateTable { name, columns, .. }) => {
12450-
std::assert_eq!(name.to_string(), "t0");
12451-
std::assert_eq!(
12450+
assert_eq!(name.to_string(), "t0");
12451+
assert_eq!(
1245212452
vec![
1245312453
ColumnDef {
1245412454
name: Ident::new("foo"),
@@ -12506,15 +12506,15 @@ fn parse_create_table_with_enum_types() {
1250612506
}
1250712507

1250812508
// invalid case missing value for enum pair
12509-
std::assert_eq!(
12509+
assert_eq!(
1251012510
all_dialects()
1251112511
.parse_sql_statements("CREATE TABLE t0 (foo ENUM8('a' = 1, 'b' = ))")
1251212512
.unwrap_err(),
1251312513
ParserError::ParserError("Expected: a value, found: )".to_string())
1251412514
);
1251512515

1251612516
// invalid case that name is not a string
12517-
std::assert_eq!(
12517+
assert_eq!(
1251812518
all_dialects()
1251912519
.parse_sql_statements("CREATE TABLE t0 (foo ENUM8('a' = 1, 2))")
1252012520
.unwrap_err(),

0 commit comments

Comments
 (0)