9437: gofmt
[arvados.git] / services / crunchstat / crunchstat_test.go
index 69f31afbc9589ce6cd6c9de2a731d5093e2c80cd..fe95f03175f14df6dcfa391787e547fb466ac5cf 100644 (file)
@@ -89,7 +89,7 @@ func TestCopyPipeToChildLogLongLines(t *testing.T) {
                        }
                        line = line[5:]
                }
-               if len(line) >= 6 && string(line[len(line)-6:len(line)]) == "[...]\n" {
+               if len(line) >= 6 && string(line[len(line)-6:]) == "[...]\n" {
                        line = line[:len(line)-6]
                } else {
                        done = true