projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '8016-crunchrun-crunchstat'
[arvados.git]
/
services
/
crunchstat
/
crunchstat_test.go
diff --git
a/services/crunchstat/crunchstat_test.go
b/services/crunchstat/crunchstat_test.go
index 63967d595a1d1e23b15d49f92471c429de2a4941..fe3b56d25876fd832d3596abe3db8e40852ebbf7 100644
(file)
--- a/
services/crunchstat/crunchstat_test.go
+++ b/
services/crunchstat/crunchstat_test.go
@@
-54,7
+54,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