Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
skywinder committed Apr 16, 2018
1 parent 5acdc13 commit 9301859
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web3swiftTests/web3swiftTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,8 @@ class web3swiftTests: XCTestCase {
case .success(_):
return XCTFail()
case .failure(let error):
guard case .unknownError = error else {return XCTFail()}
guard case .nodeError(let descr) = error else {return XCTFail()}
guard descr == "insufficient funds for gas * price + value" else {return XCTFail()}
}
}

Expand Down

0 comments on commit 9301859

Please sign in to comment.