Skip to content

Commit

Permalink
[trello.com/c/rxAVDtVH]: review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBenua committed Jan 24, 2025
1 parent ccdc257 commit 6e98454
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions AdamantTests/Modules/Wallets/EthWalletServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ final class EthWalletServiceTests: XCTestCase {
})

// then
XCTAssertEqual(
result.error as? WalletServiceError,
.internalError(message: "Failed to get web3.provider.KeystoreManager", error: nil)
)
switch result.error as? WalletServiceError {
case .internalError?:
break
default:
XCTFail("Expected `.internalError`, got :\(String(describing: result.error))")
}
}

func test_createTransaction_correctFields() async throws {
Expand Down

0 comments on commit 6e98454

Please sign in to comment.