Skip to content

Commit af9f42f

Browse files
committed
test: update snapshots
1 parent 4323d01 commit af9f42f

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

test/lib/query.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ test('parser select statements', async () => {
128128
},
129129
},
130130
"stmt_len": undefined,
131+
"stmt_location": 0,
131132
},
132133
},
133134
],
@@ -164,6 +165,7 @@ create schema if not exists test_schema;
164165
},
165166
},
166167
"stmt_len": 40,
168+
"stmt_location": 0,
167169
},
168170
},
169171
],
@@ -454,6 +456,7 @@ CREATE TABLE table_name (
454456
},
455457
},
456458
"stmt_len": 283,
459+
"stmt_location": 0,
457460
},
458461
},
459462
],
@@ -463,14 +466,14 @@ CREATE TABLE table_name (
463466

464467
const deparse = pgMeta.deparse(res.data!)
465468
expect(deparse.data).toMatchInlineSnapshot(`
466-
"CREATE TABLE table_name (
467-
id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
468-
inserted_at pg_catalog.timestamptz DEFAULT ( timezone('utc'::text, now()) ) NOT NULL,
469-
updated_at pg_catalog.timestamptz DEFAULT ( timezone('utc'::text, now()) ) NOT NULL,
470-
data jsonb,
471-
name text
472-
);"
473-
`)
469+
"CREATE TABLE table_name (
470+
id bigint GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
471+
inserted_at pg_catalog.timestamptz DEFAULT ( timezone('utc'::text, now()) ) NOT NULL,
472+
updated_at pg_catalog.timestamptz DEFAULT ( timezone('utc'::text, now()) ) NOT NULL,
473+
data jsonb,
474+
name text
475+
);"
476+
`)
474477
})
475478

476479
test('formatter', async () => {

0 commit comments

Comments
 (0)