Skip to content

Commit 77b4e4d

Browse files
committed
Remove #if compiler(<6) clauses
1 parent 2d216b4 commit 77b4e4d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Tests/AppTests/PackageCollectionTests.swift

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -416,13 +416,7 @@ class PackageCollectionTests: AppTestCase {
416416
keywords: ["key", "word"],
417417
overview: "overview")
418418

419-
#if compiler(<6)
420-
await MainActor.run { // validate
421-
assertSnapshot(of: res, as: .json(encoder))
422-
}
423-
#else
424419
assertSnapshot(of: res, as: .json(encoder))
425-
#endif
426420
}
427421
}
428422

@@ -521,13 +515,7 @@ class PackageCollectionTests: AppTestCase {
521515
authorName: "Foo",
522516
keywords: ["key", "word"])
523517

524-
#if compiler(<6)
525-
await MainActor.run { // validate
526-
assertSnapshot(of: res, as: .json(encoder))
527-
}
528-
#else
529518
assertSnapshot(of: res, as: .json(encoder))
530-
#endif
531519
}
532520
}
533521

@@ -844,13 +832,7 @@ class PackageCollectionTests: AppTestCase {
844832

845833
// validate signed collection content
846834
XCTAssertFalse(signedCollection.signature.signature.isEmpty)
847-
#if compiler(<6)
848-
await MainActor.run {
849-
assertSnapshot(of: signedCollection, as: .json(encoder))
850-
}
851-
#else
852835
assertSnapshot(of: signedCollection, as: .json(encoder))
853-
#endif
854836

855837
// validate signature
856838
let validated = try await SignedCollection.validate(signedCollection: signedCollection)

0 commit comments

Comments
 (0)