Skip to content

Commit

Permalink
Standardize require usage and remove t.Fatal from platformvm (ava…
Browse files Browse the repository at this point in the history
…-labs#2297)

Co-authored-by: Joshua Kim <[email protected]>
Co-authored-by: Stephen <[email protected]>
  • Loading branch information
3 people authored Dec 27, 2022
1 parent d8b08bd commit 7c09e70
Show file tree
Hide file tree
Showing 52 changed files with 1,114 additions and 1,831 deletions.
4 changes: 2 additions & 2 deletions database/rpcdb/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func TestHealthCheck(t *testing.T) {
require.Containsf(err.Error(), scenario.wantErrMsg, "expected error containing %q, got %s", scenario.wantErrMsg, err)
return
}
require.Nil(err)
require.NoError(err)

// check rpc HealthCheck
_, err = baseDB.client.HealthCheck(context.Background())
Expand All @@ -155,7 +155,7 @@ func TestHealthCheck(t *testing.T) {
require.Containsf(err.Error(), scenario.wantErrMsg, "expected error containing %q, got %s", scenario.wantErrMsg, err)
return
}
require.Nil(err)
require.NoError(err)
})
}
}
Loading

0 comments on commit 7c09e70

Please sign in to comment.