Skip to content

Commit

Permalink
Remove unnecessary code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyome22 committed Jan 16, 2025
1 parent d87e08f commit 7e24a3c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Tests/WebUITests/WebViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ final class WebViewTests: XCTestCase {
let actual = weaklyScope(UIDelegateMock()) {
sut = sut.uiDelegate($0)
}
var webViewMock: EnhancedWKWebViewMock? = .init()
sut.applyModifiers(to: webViewMock!)
webViewMock = nil
XCTAssertNil(actual)
}

Expand All @@ -46,9 +43,6 @@ final class WebViewTests: XCTestCase {
let actual = weaklyScope(NavigationDelegateMock()) {
sut = sut.navigationDelegate($0)
}
var webViewMock: EnhancedWKWebViewMock? = .init()
sut.applyModifiers(to: webViewMock!)
webViewMock = nil
XCTAssertNil(actual)
}

Expand Down

0 comments on commit 7e24a3c

Please sign in to comment.