nolint float64(-0.0), //nolint:staticcheck // SA4026:

This commit is contained in:
Antonio Ojea 2021-11-16 18:58:33 +01:00
parent c4080c2ad1
commit 35c05a3afa

View File

@ -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`,
},
{