File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Tests/web3swiftTests/localTests Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -167,13 +167,17 @@ final class BIP44Tests: XCTestCase {
167167 }
168168}
169169
170- class BIP44ErrorTests : XCTestCase {
170+ // MARK: - BIP44ErrorTests
171+
172+ final class BIP44ErrorTests : XCTestCase {
171173 func testLocalizedDescription( ) {
172174 let error = BIP44Error . warning
173175 XCTAssertEqual ( error. localizedDescription, " Couldn't derive key as it doesn't have a previous account with at least one transaction " )
174176 }
175177}
176178
179+ // MARK: - helper
180+
177181private extension Bool {
178182 func times( n: Int ) -> [ Bool ] {
179183 var array : [ Bool ] = . init( )
@@ -184,6 +188,8 @@ private extension Bool {
184188 }
185189}
186190
191+ // MARK: - test double
192+
187193private final class MockTransactionChecker : TransactionChecker {
188194 var addresses : [ String ] = . init( )
189195 var results : [ Bool ] = . init( )
You can’t perform that action at this time.
0 commit comments