Skip to content

Commit

Permalink
Fix time zone offset of dosDate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Aug 26, 2024
1 parent ec2b014 commit e4a2d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/ZipTests/ZipTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ final class ZipTests: XCTestCase {
}

func testDosDate() {
XCTAssertEqual(0b10000011001100011000110000110001, Date(timeIntervalSince1970: 2389278815).dosDate)
XCTAssertEqual(0b00000001001100011000110000110001, Date(timeIntervalSince1970: 338056415).dosDate)
XCTAssertEqual(0b10000011001100011000110000110001, Date(timeIntervalSince1970: 2389282415).dosDate)
XCTAssertEqual(0b00000001001100011000110000110001, Date(timeIntervalSince1970: 338060015).dosDate)
XCTAssertEqual(0b00000000001000010000000000000000, Date(timeIntervalSince1970: 315532800).dosDate)
}

Expand Down

0 comments on commit e4a2d4f

Please sign in to comment.