Skip to content

Commit fdb4e9e

Browse files
committed
Fix compilation of tests on old Darwin platforms
1 parent 70ae578 commit fdb4e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/JSONLoggerTests/Helpers/FileHandleHelper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extension FileHandle {
3232
}
3333

3434
func jl_readToEnd() throws -> Data? {
35-
if #available(macOS 10.15, tvOS 13.0, iOS 13.0, watchOS 6.0, *) {
35+
if #available(macOS 10.15.4, iOS 13.4, watchOS 6.2, tvOS 13.4, *) {
3636
#if swift(>=5.2) || !canImport(Darwin)
3737
return try readToEnd()
3838
#elseif !os(Windows)

0 commit comments

Comments
 (0)