Skip to content

Commit 218d2df

Browse files
Format Swift code
1 parent 078f456 commit 218d2df

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Plugins/PackageToJS/Tests/ExampleTests.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,10 @@ extension Trait where Self == ConditionTrait {
255255
try scriptContent.write(to: tempDir.appending(path: "script.js"), atomically: true, encoding: .utf8)
256256
let scriptPath = tempDir.appending(path: "script.js")
257257
try runSwift(
258-
["package", "--disable-sandbox", "--swift-sdk", swiftSDKID, "js", "test", "-Xnode=--require=\(scriptPath.path)"],
258+
[
259+
"package", "--disable-sandbox", "--swift-sdk", swiftSDKID, "js", "test",
260+
"-Xnode=--require=\(scriptPath.path)",
261+
],
259262
[:]
260263
)
261264
let testPath = tempDir.appending(path: "test.txt")
@@ -265,7 +268,10 @@ extension Trait where Self == ConditionTrait {
265268
"test.txt should be created by the script"
266269
)
267270
})
268-
try runSwift(["package", "--disable-sandbox", "--swift-sdk", swiftSDKID, "js", "test", "--environment", "browser"], [:])
271+
try runSwift(
272+
["package", "--disable-sandbox", "--swift-sdk", swiftSDKID, "js", "test", "--environment", "browser"],
273+
[:]
274+
)
269275
}
270276
}
271277

0 commit comments

Comments
 (0)