Skip to content

Commit 25be280

Browse files
fix: added XCTAssert to testGenerateDummyKeystore
1 parent d74c20c commit 25be280

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/web3swiftTests/localTests/TransactionsTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,6 @@ class TransactionsTests: XCTestCase {
670670
func testGenerateDummyKeystore() throws {
671671
let keystore = try! EthereumKeystoreV3.init(password: "web3swift")
672672
let dump = try! keystore!.serialize()
673-
let jsonString = String.init(data: dump!, encoding: .ascii)
674-
673+
XCTAssertNotNil(String(data: dump!, encoding: .ascii))
675674
}
676675
}

0 commit comments

Comments
 (0)