Skip to content

Commit

Permalink
nolint float64(-0.0), //nolint:staticcheck // SA4026:
Browse files Browse the repository at this point in the history
Kubernetes-commit: 35c05a3afa6fc9fee3ab202329ce988faf1dc651
  • Loading branch information
Antonio Ojea authored and k8s-publishing-bot committed Nov 16, 2021
1 parent 3c77d51 commit c6fa79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/json/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestEvaluateTypes(t *testing.T) {
},
{
In: `-0.0`,
Data: float64(-0.0),
Data: float64(-0.0), //nolint:staticcheck // SA4026: in Go, the floating-point literal '-0.0' is the same as '0.0'
Out: `-0`,
},
{
Expand Down

0 comments on commit c6fa79a

Please sign in to comment.