File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments