mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
nolint float64(-0.0), //nolint:staticcheck // SA4026:
This commit is contained in:
parent
c4080c2ad1
commit
35c05a3afa
@ -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`,
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user