Skip to content

Commit 872a842

Browse files
committed
foramt
1 parent 4a5a6f9 commit 872a842

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/event_lib/modes/sync.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ mod tests {
133133

134134
#[test]
135135
fn test_sync_scanner_builder_pattern() {
136-
let config = SyncScannerConfig::new().from_block(100).block_confirmations(10).block_read_limit(50);
136+
let config =
137+
SyncScannerConfig::new().from_block(100).block_confirmations(10).block_read_limit(50);
137138

138139
assert!(matches!(config.from_block, BlockNumberOrTag::Number(100)));
139140
assert_eq!(config.block_confirmations, 10);
@@ -166,7 +167,8 @@ mod tests {
166167

167168
#[test]
168169
fn test_sync_scanner_builder_with_zero_confirmations() {
169-
let config = SyncScannerConfig::new().from_block(0).block_confirmations(0).block_read_limit(75);
170+
let config =
171+
SyncScannerConfig::new().from_block(0).block_confirmations(0).block_read_limit(75);
170172

171173
assert!(matches!(config.from_block, BlockNumberOrTag::Number(0)));
172174
assert_eq!(config.block_confirmations, 0);

0 commit comments

Comments
 (0)