Skip to content

Commit c2c0da7

Browse files
committed
Add failing setUp/tearDown test requiring source-compatibility Darwin XCTest
1 parent 7d477ed commit c2c0da7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tests/Functional/TestCaseLifecycle/main.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ class SetUpTearDownTestCase: XCTestCase {
2424

2525
var value = 0
2626

27-
func setUp() {
27+
override func setUp() {
28+
super.setUp()
2829
print("In \(__FUNCTION__)")
2930
value = 42
3031
}
3132

32-
func tearDown() {
33+
override func tearDown() {
34+
super.tearDown()
3335
print("In \(__FUNCTION__)")
3436
}
3537

0 commit comments

Comments
 (0)