We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551f7c1 commit 30c2f3aCopy full SHA for 30c2f3a
Fixtures/SwiftTesting/SingleTarget/Tests/Foo/Test.swift
@@ -8,12 +8,10 @@ class SimpleGetTests: XCTestCase {
8
}
9
10
11
-#if os(Linux)
12
-extension SimpleGetTests: XCTestCaseProvider {
13
- var allTests : [(String, () throws -> Void)] {
+extension SimpleGetTests {
+ static var allTests : [(String, SimpleGetTests -> () throws -> Void)] {
14
return [
15
("testGetRequestStatusCode", testGetRequestStatusCode),
16
]
17
18
19
-#endif
Fixtures/SwiftTesting/SingleTarget/Tests/LinuxMain.swift
@@ -3,5 +3,5 @@ import XCTest
3
@testable import Footest
4
5
XCTMain([
6
- SimpleGetTests(),
+ testCase(SimpleGetTests.allTests),
7
])
0 commit comments