Skip to content

Commit a2be02c

Browse files
fix(wrangler): update multiple tables test expectations to include column names
1 parent 51c853c commit a2be02c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

packages/wrangler/src/__tests__/d1/export.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ describe("export", () => {
311311
[
312312
"PRAGMA defer_foreign_keys=TRUE;",
313313
"CREATE TABLE foo(id INTEGER PRIMARY KEY, value TEXT);",
314-
"INSERT INTO \"foo\" VALUES(1,'xxx');",
315-
"INSERT INTO \"foo\" VALUES(2,'yyy');",
316-
"INSERT INTO \"foo\" VALUES(3,'zzz');",
314+
'INSERT INTO "foo" ("id","value") VALUES(1,\'xxx\');',
315+
'INSERT INTO "foo" ("id","value") VALUES(2,\'yyy\');',
316+
'INSERT INTO "foo" ("id","value") VALUES(3,\'zzz\');',
317317
"CREATE TABLE baz(id INTEGER PRIMARY KEY, value TEXT);",
318-
"INSERT INTO \"baz\" VALUES(1,'111');",
319-
"INSERT INTO \"baz\" VALUES(2,'222');",
320-
"INSERT INTO \"baz\" VALUES(3,'333');",
318+
'INSERT INTO "baz" ("id","value") VALUES(1,\'111\');',
319+
'INSERT INTO "baz" ("id","value") VALUES(2,\'222\');',
320+
'INSERT INTO "baz" ("id","value") VALUES(3,\'333\');',
321321
].join("\n")
322322
);
323323
});

0 commit comments

Comments
 (0)