Skip to content

Commit c7d851b

Browse files
authored
Merge pull request #47 from meatball133/1.1.2
[1.1.2]: Update test cases
2 parents c743b1c + 4900e2d commit c7d851b

File tree

25 files changed

+4
-177
lines changed

25 files changed

+4
-177
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.1.2
2+
3+
- Updated test files to follow a more modern design.
4+
15
# 1.1.1
26

37
- Fixed an issue causing help functions to be marked as test cases

tests/compile-error/Tests/CompileErrorTests/CompileErrorTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@ final class CompileErrorTests: XCTestCase {
66
func testAdd() {
77
XCTAssertEqual(sum(2, 3), 5)
88
}
9-
10-
static var allTests = [
11-
("testAdd", testAdd)
12-
]
139
}

tests/compile-error/Tests/CompileErrorTests/XCTestManifests.swift

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/compile-error/Tests/LinuxMain.swift

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/multiple-tests-all-pass/Tests/LinuxMain.swift

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/multiple-tests-all-pass/Tests/TaskMultipleAllPassTests/TaskMultipleAllPassTests.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ final class TaskMultipleAllPassTests: XCTestCase {
1414
func testMul() {
1515
XCTAssertEqual(mul(2, 3), 6)
1616
}
17-
18-
static var allTests = [
19-
("testAdd", testAdd),
20-
("testSub", testSub),
21-
("testMul", testMul),
22-
]
2317
}
2418

2519
final class TaskSecondSuite: XCTestCase {
@@ -34,10 +28,4 @@ final class TaskSecondSuite: XCTestCase {
3428
func testMul_2() {
3529
XCTAssertEqual(mul(12, 13), 156)
3630
}
37-
38-
static var allTests = [
39-
("testAdd_2", testAdd_2),
40-
("testSub_2", testSub_2),
41-
("testMul_2", testMul_2),
42-
]
4331
}

tests/multiple-tests-all-pass/Tests/TaskMultipleAllPassTests/XCTestManifests.swift

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/multiple-tests-multiple-fails/Tests/LinuxMain.swift

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/multiple-tests-multiple-fails/Tests/TaskMultipleMultipleFailsTests/TaskMultipleMultipleFailsTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,4 @@ final class TaskMultipleMultipleFailsTests: XCTestCase {
1414
func testMul() {
1515
XCTAssertEqual(mul(2, 3), 6)
1616
}
17-
18-
static var allTests = [
19-
("testAdd", testAdd),
20-
("testSub", testSub),
21-
("testMul", testMul),
22-
]
2317
}

tests/multiple-tests-multiple-fails/Tests/TaskMultipleMultipleFailsTests/XCTestManifests.swift

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)