projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
9437: gofmt
[arvados.git]
/
services
/
crunchstat
/
crunchstat_test.go
diff --git
a/services/crunchstat/crunchstat_test.go
b/services/crunchstat/crunchstat_test.go
index 69f31afbc9589ce6cd6c9de2a731d5093e2c80cd..fe95f03175f14df6dcfa391787e547fb466ac5cf 100644
(file)
--- a/
services/crunchstat/crunchstat_test.go
+++ b/
services/crunchstat/crunchstat_test.go
@@
-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