Skip to content

Commit e2ff4f0

Browse files
committed
Generate LinuxMain.swift
1 parent c6ed92a commit e2ff4f0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Tests/JavaScriptCoreTests/XCTestManifests.swift

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
#if !canImport(ObjectiveC)
12
import XCTest
23

34
extension JSValueTests {
4-
static let __allTests = [
5+
// DO NOT MODIFY: This is autogenerated, use:
6+
// `swift test --generate-linuxmain`
7+
// to regenerate.
8+
static let __allTests__JSValueTests = [
59
("testIsBool", testIsBool),
610
("testIsNull", testIsNull),
711
("testIsNumber", testIsNumber),
@@ -14,7 +18,10 @@ extension JSValueTests {
1418
}
1519

1620
extension JavaScriptCoreTests {
17-
static let __allTests = [
21+
// DO NOT MODIFY: This is autogenerated, use:
22+
// `swift test --generate-linuxmain`
23+
// to regenerate.
24+
static let __allTests__JavaScriptCoreTests = [
1825
("testArguments", testArguments),
1926
("testCapture", testCapture),
2027
("testClosure", testClosure),
@@ -24,11 +31,10 @@ extension JavaScriptCoreTests {
2431
]
2532
}
2633

27-
#if !os(macOS)
2834
public func __allTests() -> [XCTestCaseEntry] {
2935
return [
30-
testCase(JSValueTests.__allTests),
31-
testCase(JavaScriptCoreTests.__allTests),
36+
testCase(JSValueTests.__allTests__JSValueTests),
37+
testCase(JavaScriptCoreTests.__allTests__JavaScriptCoreTests),
3238
]
3339
}
3440
#endif

0 commit comments

Comments
 (0)