From c6fa79a7d9938d9c7d43f8b7ad4b7a3079ca6374 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 16 Nov 2021 18:58:33 +0100 Subject: [PATCH] nolint float64(-0.0), //nolint:staticcheck // SA4026: Kubernetes-commit: 35c05a3afa6fc9fee3ab202329ce988faf1dc651 --- pkg/util/json/json_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/json/json_test.go b/pkg/util/json/json_test.go index 2d9b6f0d3..cc5e24b86 100644 --- a/pkg/util/json/json_test.go +++ b/pkg/util/json/json_test.go @@ -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`, }, {