Skip to content

Commit

Permalink
numptie
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Jan 20, 2025
1 parent 680f9a2 commit 21403e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/IntegrationTests/PostgresNIOTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ final class PostgresNIOTests: XCTestCase {
XCTAssertNoThrow(_ = try conn?.simpleQuery("DROP TABLE IF EXISTS \"table1\"").wait())
XCTAssertNoThrow(_ = try conn?.simpleQuery("""
CREATE TABLE table1 (
"date" timestampz NOT NULL
"date" TIMESTAMP WITH TIME ZONE NOT NULL
);
""").wait())
defer { XCTAssertNoThrow(_ = try conn?.simpleQuery("DROP TABLE \"table1\"").wait()) }
Expand All @@ -687,7 +687,7 @@ final class PostgresNIOTests: XCTestCase {
FROM table1
""").wait())
let row = rows?.first?.makeRandomAccess()
XCTAssertEqual(row?[data: "date"].date, date)
XCTAssertEqual(row?[data: "date"].date?.timeIntervalSince1970, date.timeIntervalSince1970)
}

func testMoney() {
Expand Down

0 comments on commit 21403e1

Please sign in to comment.