Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Jun 11, 2024
1 parent 7240263 commit 2371b66
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dot/parachain/candidate-validation/candidate_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,23 +514,23 @@ func Test_performBasicChecks(t *testing.T) {
args args
expectedError error
}{
"params too large": {
"params_too_large": {
args: args{
candidate: &candidate,
maxPoVSize: 2,
pov: pov,
},
expectedError: fmt.Errorf("%w, limit: 2, got: 9", ErrValidationParamsTooLarge),
},
"invalid pov hash": {
"invalid_pov_hash": {
args: args{
candidate: &candidate,
maxPoVSize: 1024,
pov: pov2,
},
expectedError: ErrValidationPoVHashMismatch,
},
"invalid code hash": {
"invalid_code_hash": {
args: args{
candidate: &candidate,
maxPoVSize: 1024,
Expand All @@ -539,7 +539,7 @@ func Test_performBasicChecks(t *testing.T) {
},
expectedError: ErrValidationCodeMismatch,
},
"invalid signature": {
"invalid_signature": {
args: args{
candidate: &candidate2,
maxPoVSize: 1024,
Expand All @@ -548,7 +548,7 @@ func Test_performBasicChecks(t *testing.T) {
},
expectedError: ErrValidationBadSignature,
},
"happy path": {
"happy_path": {
args: args{
candidate: &candidate,
maxPoVSize: 1024,
Expand Down

0 comments on commit 2371b66

Please sign in to comment.