Skip to content

Commit 32318ab

Browse files
committed
fix tests name collision on linux
1 parent 55e19a7 commit 32318ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/LinuxMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ XCTMain([
4040
testCase(WalkTests.allTests),
4141
testCase(ModuleMapsTestCase.allTests),
4242
testCase(DescribeTests.allTests),
43-
testCase(GitTests.allTests),
43+
testCase(GitUtilityTests.allTests),
4444
])

Tests/Utility/GitTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class GitMoc: Git {
1818
}
1919
}
2020

21-
class GitTests: XCTestCase {
21+
class GitUtilityTests: XCTestCase {
2222

2323
func testGitVersion() {
2424
XCTAssertEqual(GitMoc.majorVersionNumber, 2)
@@ -34,8 +34,8 @@ class GitTests: XCTestCase {
3434
}
3535
}
3636

37-
extension GitTests {
38-
static var allTests : [(String, GitTests -> () throws -> Void)] {
37+
extension GitUtilityTests {
38+
static var allTests : [(String, GitUtilityTests -> () throws -> Void)] {
3939
return [
4040
("testGitVersion", testGitVersion),
4141
]

0 commit comments

Comments
 (0)