Skip to content

Commit 541a205

Browse files
committed
Fix up ParseStrategy tests for Date to account for Double-Double.
1 parent 4f8d3f2 commit 541a205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FoundationInternationalizationTests/Formatting/ParseStrategy+RegexComponentTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ DEBIT Mar 31/20 March Payment to BoA -USD 52,249.98
213213
#expect(match.output.1 == "MergeableSetTests")
214214
#expect(match.output.2 == "started")
215215
// dateFormatter.date(from: "2021-07-08 10:19:35.418")!
216-
#expect(match.output.3 == Date(timeIntervalSinceReferenceDate: 647432375.418))
216+
#expect(match.output.3.timeIntervalSinceReferenceDate == 647432375.418)
217217
}
218218
#endif
219219

0 commit comments

Comments
 (0)