Skip to content

Commit 504052d

Browse files
authored
fix(test) fix sql.test.ts (#21860)
### What does this PR do? fix test to not include information that can change version to version ### How did you verify your code works? CI
1 parent cf97613 commit 504052d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/js/sql/sql.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10710,7 +10710,7 @@ CREATE TABLE ${table_name} (
1071010710
test("pg_database[] - system databases", async () => {
1071110711
await using sql = postgres({ ...options, max: 1 });
1071210712
const result = await sql`SELECT array_agg(d.*)::pg_database[] FROM pg_database d;`;
10713-
expect(result[0].array_agg[0]).toContain("(5,postgres,10,6,c,f,t,-1,717,1,1663,en_US.utf8,en_US.utf8,,2.36,)");
10713+
expect(result[0].array_agg[0]).toContain(",postgres,");
1071410714
});
1071510715

1071610716
test("pg_database[] - null values", async () => {

0 commit comments

Comments
 (0)