@@ -34,7 +34,7 @@ TEST_CASE("split cursor dup sort") {
3434 WorkerPool pool{1 };
3535 db::test_util::MockCursorDupSort csdp;
3636
37- SECTION (" 0 maching bits: seek_both, key not exists" ) {
37+ SECTION (" 0 matching bits: seek_both, key not exists" ) {
3838 SplitCursorDupSort sc (csdp, kKey , kLocation , 0 , silkworm::kAddressLength , 0 );
3939
4040 EXPECT_CALL (csdp, seek_both (_, _))
@@ -50,7 +50,7 @@ TEST_CASE("split cursor dup sort") {
5050 CHECK (silkworm::to_hex (skv.value ).empty ());
5151 }
5252
53- SECTION (" evmc:.address maching bits: seek_both, key not exists" ) {
53+ SECTION (" evmc:.address matching bits: seek_both, key not exists" ) {
5454 SplitCursorDupSort sc (csdp, kKey , kLocation , 8 * silkworm::kAddressLength , silkworm::kAddressLength ,
5555 silkworm::kHashLength );
5656
@@ -67,7 +67,7 @@ TEST_CASE("split cursor dup sort") {
6767 CHECK (silkworm::to_hex (skv.value ).empty ());
6868 }
6969
70- SECTION (" evmc:.address odd maching bits: seek_both, key not exists" ) {
70+ SECTION (" evmc:.address odd matching bits: seek_both, key not exists" ) {
7171 SplitCursorDupSort sc (csdp, kKey , kLocation , 153 , silkworm::kAddressLength ,
7272 silkworm::kHashLength );
7373
@@ -84,7 +84,7 @@ TEST_CASE("split cursor dup sort") {
8484 CHECK (silkworm::to_hex (skv.value ).empty ());
8585 }
8686
87- SECTION (" evmc:.address maching bits: seek_both, key exists" ) {
87+ SECTION (" evmc:.address matching bits: seek_both, key exists" ) {
8888 SplitCursorDupSort sc (csdp, kKey , kLocation , 8 * silkworm::kAddressLength , silkworm::kAddressLength ,
8989 silkworm::kHashLength );
9090
@@ -118,7 +118,7 @@ TEST_CASE("split cursor dup sort") {
118118 CHECK (silkworm::to_hex (skv.value ).empty ());
119119 }
120120
121- SECTION (" evmc:.address maching bits: next_dup, key exists empty key" ) {
121+ SECTION (" evmc:.address matching bits: next_dup, key exists empty key" ) {
122122 SplitCursorDupSort sc (csdp, kKey , kLocation , 8 * silkworm::kAddressLength , silkworm::kAddressLength ,
123123 silkworm::kHashLength );
124124
@@ -135,7 +135,7 @@ TEST_CASE("split cursor dup sort") {
135135 CHECK (silkworm::to_hex (skv.value ).empty ());
136136 }
137137
138- SECTION (" evmc:.address maching bits: next_dup, key exists wrong key last byte" ) {
138+ SECTION (" evmc:.address matching bits: next_dup, key exists wrong key last byte" ) {
139139 SplitCursorDupSort sc (csdp, kKey , kLocation , 8 * silkworm::kAddressLength , silkworm::kAddressLength ,
140140 silkworm::kHashLength );
141141
@@ -152,7 +152,7 @@ TEST_CASE("split cursor dup sort") {
152152 CHECK (silkworm::to_hex (skv.value ).empty ());
153153 }
154154
155- SECTION (" evmc:.address maching bits: next_dup, key exists wrong key first byte" ) {
155+ SECTION (" evmc:.address matching bits: next_dup, key exists wrong key first byte" ) {
156156 SplitCursorDupSort sc (csdp, kKey , kLocation , 8 * silkworm::kAddressLength , silkworm::kAddressLength ,
157157 silkworm::kHashLength );
158158
@@ -174,7 +174,7 @@ TEST_CASE("split cursor") {
174174 WorkerPool pool{1 };
175175 db::test_util::MockCursor csdp;
176176
177- SECTION (" 0 maching bits: seek, key not exists" ) {
177+ SECTION (" 0 matching bits: seek, key not exists" ) {
178178 SplitCursor sc (csdp, kKey , 0 , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
179179
180180 EXPECT_CALL (csdp, seek (_))
@@ -190,7 +190,7 @@ TEST_CASE("split cursor") {
190190 CHECK (silkworm::to_hex (skv.value ).empty ());
191191 }
192192
193- SECTION (" evmc:.address maching bits: seek, key not exists" ) {
193+ SECTION (" evmc:.address matching bits: seek, key not exists" ) {
194194 SplitCursor sc (csdp, kKey , 8 * silkworm::kAddressLength , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
195195
196196 EXPECT_CALL (csdp, seek (_))
@@ -206,7 +206,7 @@ TEST_CASE("split cursor") {
206206 CHECK (silkworm::to_hex (skv.value ).empty ());
207207 }
208208
209- SECTION (" evmc:.address odd maching bits: seek, key not exists" ) {
209+ SECTION (" evmc:.address odd matching bits: seek, key not exists" ) {
210210 SplitCursor sc (csdp, kKey , 131 , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
211211
212212 EXPECT_CALL (csdp, seek (_))
@@ -222,7 +222,7 @@ TEST_CASE("split cursor") {
222222 CHECK (silkworm::to_hex (skv.value ).empty ());
223223 }
224224
225- SECTION (" evmc:.address maching bits: seek, key exists" ) {
225+ SECTION (" evmc:.address matching bits: seek, key exists" ) {
226226 SplitCursor sc (csdp, kKey , 8 * silkworm::kAddressLength , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
227227
228228 EXPECT_CALL (csdp, seek (_))
@@ -238,7 +238,7 @@ TEST_CASE("split cursor") {
238238 CHECK (silkworm::to_hex (skv.value ) == " 0000000000000000000000000000000000000000000000000000000000000001134567" );
239239 }
240240
241- SECTION (" evmc:.address maching bits: next_dup, key exists short key" ) {
241+ SECTION (" evmc:.address matching bits: next_dup, key exists short key" ) {
242242 SplitCursor sc (csdp, kKey , 8 * silkworm::kAddressLength , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
243243
244244 EXPECT_CALL (csdp, next ())
@@ -254,7 +254,7 @@ TEST_CASE("split cursor") {
254254 CHECK (silkworm::to_hex (skv.value ).empty ());
255255 }
256256
257- SECTION (" evmc:.address maching bits: next, empty key" ) {
257+ SECTION (" evmc:.address matching bits: next, empty key" ) {
258258 SplitCursor sc (csdp, kKey , 8 * silkworm::kAddressLength , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
259259
260260 EXPECT_CALL (csdp, next ())
@@ -270,7 +270,7 @@ TEST_CASE("split cursor") {
270270 CHECK (silkworm::to_hex (skv.value ).empty ());
271271 }
272272
273- SECTION (" evmc:.address maching bits: next, key exists wrong key last byte" ) {
273+ SECTION (" evmc:.address matching bits: next, key exists wrong key last byte" ) {
274274 SplitCursor sc (csdp, kKey , 8 * silkworm::kAddressLength , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
275275 EXPECT_CALL (csdp, next ())
276276 .WillOnce (InvokeWithoutArgs ([]() -> Task<KeyValue> {
@@ -285,7 +285,7 @@ TEST_CASE("split cursor") {
285285 CHECK (silkworm::to_hex (skv.value ).empty ());
286286 }
287287
288- SECTION (" evmc:.address maching bits: next, key exists wrong key first byte" ) {
288+ SECTION (" evmc:.address matching bits: next, key exists wrong key first byte" ) {
289289 SplitCursor sc (csdp, kKey , 8 * silkworm::kAddressLength , silkworm::kAddressLength , 0 , silkworm::kAddressLength );
290290
291291 EXPECT_CALL (csdp, next ())
@@ -301,4 +301,5 @@ TEST_CASE("split cursor") {
301301 CHECK (silkworm::to_hex (skv.value ).empty ());
302302 }
303303}
304+
304305} // namespace silkworm::rpc::ethdb
0 commit comments