Skip to content

Commit 73e2c1b

Browse files
committed
added some MARK
1 parent 50f0986 commit 73e2c1b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Tests/web3swiftTests/localTests/BIP44Tests.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
177181
private 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+
187193
private final class MockTransactionChecker: TransactionChecker {
188194
var addresses: [String] = .init()
189195
var results: [Bool] = .init()

0 commit comments

Comments
 (0)