Skip to content

Commit

Permalink
Remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
peterringset committed Jun 26, 2023
1 parent 371f7d2 commit 3806092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Nimble/Adapters/AssertionRecorder+Async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public func withAssertionHandler(_ tempAssertionHandler: AssertionHandler,
closure: () async throws -> Void) async {
let environment = NimbleEnvironment.activeInstance
let oldRecorder = environment.assertionHandler
let capturer = NMBExceptionCapture(handler: nil, finally: ({
_ = NMBExceptionCapture(handler: nil, finally: ({
environment.assertionHandler = oldRecorder
}))
environment.assertionHandler = tempAssertionHandler
Expand Down

0 comments on commit 3806092

Please sign in to comment.