Skip to content

Commit 16683fd

Browse files
marcpruxkateinoigakukun
authored andcommitted
Format to satifsy swift-format
1 parent 4a7523d commit 16683fd

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

Tests/WASITests/IntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import XCTest
77
final class IntegrationTests: XCTestCase {
88
func testRunAll() throws {
99
#if os(Android)
10-
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
10+
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
1111
#endif
1212
let testDir = URL(fileURLWithPath: #filePath)
1313
.deletingLastPathComponent().deletingLastPathComponent().deletingLastPathComponent()

Tests/WASITests/TestSupport.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ enum TestSupport {
3232
#else
3333
if mkdtemp(&template) == nil {
3434
#if os(Android)
35-
throw Error(errno: __errno().pointee)
35+
throw Error(errno: __errno().pointee)
3636
#else
37-
throw Error(errno: errno)
37+
throw Error(errno: errno)
3838
#endif
3939
}
4040
#endif

Tests/WATTests/TestSupport.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ enum TestSupport {
3030
#else
3131
if mkdtemp(&template) == nil {
3232
#if os(Android)
33-
throw Error(errno: __errno().pointee)
33+
throw Error(errno: __errno().pointee)
3434
#else
35-
throw Error(errno: errno)
35+
throw Error(errno: errno)
3636
#endif
3737
}
3838
#endif

Tests/WITExtractorPluginTests/TestSupport.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ struct TestSupport {
2626

2727
if mkdtemp(&template) == nil {
2828
#if os(Android)
29-
throw Error(errno: __errno().pointee)
29+
throw Error(errno: __errno().pointee)
3030
#else
31-
throw Error(errno: errno)
31+
throw Error(errno: errno)
3232
#endif
3333
}
3434

Tests/WITExtractorTests/TestSupport.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ struct TestSupport {
5757
#else
5858
if mkdtemp(&template) == nil {
5959
#if os(Android)
60-
throw Error(errno: __errno().pointee)
60+
throw Error(errno: __errno().pointee)
6161
#else
62-
throw Error(errno: errno)
62+
throw Error(errno: errno)
6363
#endif
6464
}
6565
#endif

Tests/WITOverlayGeneratorTests/HostGeneratorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class HostGeneratorTests: XCTestCase {
88
// but execute again here to collect coverage data.
99
func testGenerateFromFixtures() throws {
1010
#if os(Android)
11-
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
11+
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
1212
#endif
1313
let fixturesDir = RuntimeTestHarness.testsDirectory.appendingPathComponent("Fixtures")
1414
for fixture in try FileManager.default.contentsOfDirectory(atPath: fixturesDir.path) {

Tests/WasmKitTests/FuzzTranslatorRegressionTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import XCTest
55
final class FuzzTranslatorRegressionTests: XCTestCase {
66
func testRunAll() throws {
77
#if os(Android)
8-
throw XCTSkip("Test skipped due to absolute path #filePath unavailable on emulator")
8+
throw XCTSkip("Test skipped due to absolute path #filePath unavailable on emulator")
99
#endif
1010
let sourceRoot = URL(fileURLWithPath: #filePath)
1111
.deletingLastPathComponent().deletingLastPathComponent().deletingLastPathComponent()

Tests/WasmKitTests/SpectestTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class SpectestTests: XCTestCase {
2020
/// Run all the tests in the spectest suite.
2121
func testRunAll() async throws {
2222
#if os(Android)
23-
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
23+
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
2424
#endif
2525
let defaultConfig = EngineConfiguration()
2626
let ok = try await spectest(
@@ -35,7 +35,7 @@ final class SpectestTests: XCTestCase {
3535

3636
func testRunAllWithTokenThreading() async throws {
3737
#if os(Android)
38-
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
38+
throw XCTSkip("unable to run spectest on Android due to missing files on emulator")
3939
#endif
4040
let defaultConfig = EngineConfiguration()
4141
guard defaultConfig.threadingModel != .token else { return }

0 commit comments

Comments
 (0)