Skip to content

Commit fc1e041

Browse files
committed
fix test
1 parent 2096d0a commit fc1e041

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

insert_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func ExampleInsertBuilder_insertIgnore_postgres() {
9393
fmt.Println(args)
9494

9595
// Output:
96-
// INSERT INTO demo.user (id,name,status,created_at) VALUES ($1,$2,$3,UNIX_TIMESTAMP(NOW())),($4,$5,$6,$7) ON CONFLICT DO NOTHING
96+
// INSERT INTO demo.user (id, name, status, created_at) VALUES ($1, $2, $3, UNIX_TIMESTAMP(NOW())), ($4, $5, $6, $7) ON CONFLICT DO NOTHING
9797
// [1 Huan Du 1 2 Charmy Liu 1 1234567890]
9898
}
9999

@@ -109,7 +109,7 @@ func ExampleInsertBuilder_insertIgnore_sqlite() {
109109
fmt.Println(args)
110110

111111
// Output:
112-
// INSERT OR IGNORE INTO demo.user (id,name,status,created_at) VALUES (?,?,?,UNIX_TIMESTAMP(NOW())),(?,?,?,?)
112+
// INSERT OR IGNORE INTO demo.user (id, name, status, created_at) VALUES (?, ?, ?, UNIX_TIMESTAMP(NOW())), (?, ?, ?, ?)
113113
// [1 Huan Du 1 2 Charmy Liu 1 1234567890]
114114
}
115115

0 commit comments

Comments
 (0)