Skip to content

Commit

Permalink
Address swiftlint
Browse files Browse the repository at this point in the history
  • Loading branch information
wongzigii committed Apr 9, 2018
1 parent 61dfb63 commit dc6b366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/NimbleTests/AsynchronousTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ final class AsyncTest: XCTestCase, XCTestCaseProvider {
}
expect { value }.toEventuallyNot(equal(1))
}

func testWaitUntilWithCustomDefaultsTimeout() {
AsyncDefaults.Timeout = 5
defer {
AsyncDefaults.Timeout = 1
}
waitUntil() { done in
waitUntil { done in
Thread.sleep(forTimeInterval: 4.8)
done()
}
Expand Down

0 comments on commit dc6b366

Please sign in to comment.