mirror of
https://github.com/golang/go
synced 2024-11-12 03:40:21 -07:00
runtime: gofmt -s
R=golang-dev, iant, dave CC=golang-dev https://golang.org/cl/8253045
This commit is contained in:
parent
0b5d55984f
commit
114f20532e
@ -30,7 +30,7 @@ func TestNegativeZero(t *testing.T) {
|
||||
t.Error("length wrong")
|
||||
}
|
||||
|
||||
for k, _ := range m {
|
||||
for k := range m {
|
||||
if math.Copysign(1.0, k) > 0 {
|
||||
t.Error("wrong sign")
|
||||
}
|
||||
@ -44,7 +44,7 @@ func TestNegativeZero(t *testing.T) {
|
||||
t.Error("length wrong")
|
||||
}
|
||||
|
||||
for k, _ := range m {
|
||||
for k := range m {
|
||||
if math.Copysign(1.0, k) < 0 {
|
||||
t.Error("wrong sign")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user