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 {
167
167
}
168
168
}
169
169
170
- class BIP44ErrorTests : XCTestCase {
170
+ // MARK: - BIP44ErrorTests
171
+
172
+ final class BIP44ErrorTests : XCTestCase {
171
173
func testLocalizedDescription( ) {
172
174
let error = BIP44Error . warning
173
175
XCTAssertEqual ( error. localizedDescription, " Couldn't derive key as it doesn't have a previous account with at least one transaction " )
174
176
}
175
177
}
176
178
179
+ // MARK: - helper
180
+
177
181
private extension Bool {
178
182
func times( n: Int ) -> [ Bool ] {
179
183
var array : [ Bool ] = . init( )
@@ -184,6 +188,8 @@ private extension Bool {
184
188
}
185
189
}
186
190
191
+ // MARK: - test double
192
+
187
193
private final class MockTransactionChecker : TransactionChecker {
188
194
var addresses : [ String ] = . init( )
189
195
var results : [ Bool ] = . init( )
You can’t perform that action at this time.
0 commit comments