Skip to content

Commit 27ba327

Browse files
committed
linux tests fix
1 parent 8977316 commit 27ba327

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Tests/LinuxMain.swift

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import XCTest
2-
1+
#if os(Linux)
32
@testable import CouchDBClientTests
43

5-
var tests = [XCTestCaseEntry]()
6-
tests += CouchDBClientTests.allTests
7-
XCTMain(tests)
4+
import XCTest
5+
6+
XCTMain([
7+
testCase(CouchDBClientTests.allTests)
8+
])
9+
#endif

0 commit comments

Comments
 (0)