Skip to content

Commit 7d4eee6

Browse files
committed
Remove std prefix
1 parent 87bfbce commit 7d4eee6

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
@@ -12465,8 +12465,8 @@ fn parse_create_table_with_enum_types() {
1246512465
let sql = "CREATE TABLE t0 (foo ENUM8('a' = 1, 'b' = 2), bar ENUM16('a' = 1, 'b' = 2), baz ENUM('a', 'b'))";
1246612466
match all_dialects().verified_stmt(sql) {
1246712467
Statement::CreateTable(CreateTable { name, columns, .. }) => {
12468-
std::assert_eq!(name.to_string(), "t0");
12469-
std::assert_eq!(
12468+
assert_eq!(name.to_string(), "t0");
12469+
assert_eq!(
1247012470
vec![
1247112471
ColumnDef {
1247212472
name: Ident::new("foo"),
@@ -12524,15 +12524,15 @@ fn parse_create_table_with_enum_types() {
1252412524
}
1252512525

1252612526
// invalid case missing value for enum pair
12527-
std::assert_eq!(
12527+
assert_eq!(
1252812528
all_dialects()
1252912529
.parse_sql_statements("CREATE TABLE t0 (foo ENUM8('a' = 1, 'b' = ))")
1253012530
.unwrap_err(),
1253112531
ParserError::ParserError("Expected: a value, found: )".to_string())
1253212532
);
1253312533

1253412534
// invalid case that name is not a string
12535-
std::assert_eq!(
12535+
assert_eq!(
1253612536
all_dialects()
1253712537
.parse_sql_statements("CREATE TABLE t0 (foo ENUM8('a' = 1, 2))")
1253812538
.unwrap_err(),

0 commit comments

Comments
 (0)