Skip to content

Commit

Permalink
Merge branch 'alex/trusted-url-indicator' into alex/duck-suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Apr 19, 2024
2 parents b3e3a14 + f348bc0 commit 83a3475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTests/Tab/ViewModel/TabViewModelTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ final class TabViewModelTests: XCTestCase {

tabViewModel.$addressBarString.debounce(for: 0.1, scheduler: RunLoop.main).sink { _ in
XCTAssertEqual(tabViewModel.addressBarString, urlString)
XCTAssertEqual(tabViewModel.passiveAddressBarString, urlString)
XCTAssertEqual(tabViewModel.passiveAddressBarAttributedString.string, urlString)

Check failure on line 88 in UnitTests/Tab/ViewModel/TabViewModelTests.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

testWhenURLIsFileURLThenAddressBarIsFilePath, XCTAssertEqual failed: ("file.txt") is not equal to ("file:///Users/Dax/file.txt")
addressBarStringExpectation.fulfill()
} .store(in: &cancellables)
waitForExpectations(timeout: 1, handler: nil)
Expand All @@ -103,7 +103,7 @@ final class TabViewModelTests: XCTestCase {

tabViewModel.$addressBarString.debounce(for: 0.1, scheduler: RunLoop.main).sink { _ in
XCTAssertEqual(tabViewModel.addressBarString, urlString)
XCTAssertEqual(tabViewModel.passiveAddressBarString, "data:")
XCTAssertEqual(tabViewModel.passiveAddressBarAttributedString.string, "data:")
addressBarStringExpectation.fulfill()
} .store(in: &cancellables)
waitForExpectations(timeout: 1, handler: nil)
Expand Down

0 comments on commit 83a3475

Please sign in to comment.