Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
begmaroman committed Jul 1, 2024
1 parent ad9a4e8 commit c1b2acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synchronizer/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Test_getStartBlock(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
testDB := tt.db(t)

if block, err := getStartBlock(context.Background(), testDB, l1SyncTask); tt.wantErr {
if block, err := getStartBlock(context.Background(), testDB, L1SyncTask); tt.wantErr {
require.ErrorIs(t, err, testError)
} else {
require.NoError(t, err)
Expand Down Expand Up @@ -100,7 +100,7 @@ func Test_setStartBlock(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
testDB := tt.db(t)

if err := setStartBlock(context.Background(), testDB, tt.block, l1SyncTask); tt.wantErr {
if err := setStartBlock(context.Background(), testDB, tt.block, L1SyncTask); tt.wantErr {
require.ErrorIs(t, err, testError)
} else {
require.NoError(t, err)
Expand Down

0 comments on commit c1b2acc

Please sign in to comment.