Skip to content

Commit 4ee8423

Browse files
committed
Fixup test environment
...
1 parent ad70fc0 commit 4ee8423

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ fastlane/test_output
7070
.build-linux
7171
Package.resolved
7272
.swiftpm
73+
.docker.build
7374

Tests/LinuxMain.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import XCTest
2-
32
import NIORedisTests
43

5-
var tests = [XCTestCaseEntry]()
4+
var tests = [ XCTestCaseEntry ]()
65
tests += NIORedisTests.allTests()
76
XCTMain(tests)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import XCTest
22

3-
#if !os(macOS)
4-
public func allTests() -> [XCTestCaseEntry] {
3+
#if !canImport(ObjectiveC)
4+
public func allTests() -> [ XCTestCaseEntry ] {
55
return [
6-
testCase(RESPValueTests.allTests),
6+
testCase(RESPValueTests.allTests)
77
]
88
}
99
#endif

0 commit comments

Comments
 (0)