Skip to content

Commit 1b51b4c

Browse files
authored
PackageModelTests: fix warnings in DestinationBundleTests (#6391)
These tests currently have `await` before non-`async` functions. Let's clean that up to fix the warning: ``` No 'async' operations occur within 'await' expression ```
1 parent d2f7f7c commit 1b51b4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/PackageModelTests/DestinationBundleTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ final class DestinationBundleTests: XCTestCase {
5959

6060
let archiver = MockArchiver()
6161

62-
try await DestinationBundle.install(
62+
try DestinationBundle.install(
6363
bundlePathOrURL: bundlePath1,
6464
destinationsDirectory: destinationsDirectory,
6565
fileSystem,
@@ -69,7 +69,7 @@ final class DestinationBundleTests: XCTestCase {
6969

7070
let invalidPath = "foobar"
7171
do {
72-
try await DestinationBundle.install(
72+
try DestinationBundle.install(
7373
bundlePathOrURL: "foobar",
7474
destinationsDirectory: destinationsDirectory,
7575
fileSystem,
@@ -94,7 +94,7 @@ final class DestinationBundleTests: XCTestCase {
9494
}
9595

9696
do {
97-
try await DestinationBundle.install(
97+
try DestinationBundle.install(
9898
bundlePathOrURL: bundlePath1,
9999
destinationsDirectory: destinationsDirectory,
100100
fileSystem,
@@ -118,7 +118,7 @@ final class DestinationBundleTests: XCTestCase {
118118
}
119119

120120
do {
121-
try await DestinationBundle.install(
121+
try DestinationBundle.install(
122122
bundlePathOrURL: bundlePath2,
123123
destinationsDirectory: destinationsDirectory,
124124
fileSystem,

0 commit comments

Comments
 (0)