Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f7ca331

Browse filesBrowse files
Testing module is not included in 6.0 SDK
1 parent 80821fe commit f7ca331
Copy full SHA for f7ca331

1 file changed

+3-1Lines changed: 3 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Plugins/PackageToJS/Tests/ExampleTests.swift‎

Copy file name to clipboardExpand all lines: Plugins/PackageToJS/Tests/ExampleTests.swift
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,17 @@ extension Trait where Self == ConditionTrait {
289289
}
290290
}
291291

292+
#if compiler(>=6.1)
292293
// TODO: Remove triple restriction once swift-testing is shipped in p1-threads SDK
293294
@Test(.requireSwiftSDK(triple: "wasm32-unknown-wasi"))
294295
func continuationLeakInTest_SwiftTesting() throws {
295296
let swiftSDKID = try #require(Self.getSwiftSDKID())
296297
try withPackage(
297298
at: "Plugins/PackageToJS/Fixtures/ContinuationLeakInTest/SwiftTesting",
298-
assertTerminationStatus: { $0 == 0 }
299+
assertTerminationStatus: { $0 != 0 }
299300
) { packageDir, _, runSwift in
300301
try runSwift(["package", "--disable-sandbox", "--swift-sdk", swiftSDKID, "js", "test"], [:])
301302
}
302303
}
304+
#endif
303305
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.