Skip to content

Commit 78c6b2f

Browse files
authored
Merge pull request #2656 from spevans/pr_sr_399
2 parents 805ac48 + 9db84d9 commit 78c6b2f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

TestFoundation/TestRunLoop.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class TestRunLoop : XCTestCase {
5151
runLoop.add(dummyTimer, forMode: .default)
5252
let result = runLoop.run(mode: .default, before: endDate)
5353

54-
XCTAssertFalse(result) // should be .Finished
54+
XCTAssertTrue(result)
5555
XCTAssertTrue(flag)
5656
}
5757

@@ -130,9 +130,8 @@ class TestRunLoop : XCTestCase {
130130
("test_constants", test_constants),
131131
("test_runLoopInit", test_runLoopInit),
132132
("test_commonModes", test_commonModes),
133-
// these tests do not work the same as Darwin https://bugs.swift.org/browse/SR-399
134-
// ("test_runLoopRunMode", test_runLoopRunMode),
135-
// ("test_runLoopLimitDate", test_runLoopLimitDate),
133+
("test_runLoopRunMode", test_runLoopRunMode),
134+
("test_runLoopLimitDate", test_runLoopLimitDate),
136135
("test_runLoopPoll", test_runLoopPoll),
137136
("test_addingRemovingPorts", test_addingRemovingPorts),
138137
]

0 commit comments

Comments
 (0)