Skip to content

Commit f1589a6

Browse files
committedMar 3, 2015
5043: Remove errant +1 from error message.
1 parent 508bcab commit f1589a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎services/crunchstat/crunchstat_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func TestCopyPipeToChildLogLongLines(t *testing.T) {
9797
receivedBytes = append(receivedBytes, line...)
9898
}
9999
if bytes.Compare(receivedBytes, sentBytes) != 0 {
100-
t.Fatalf("sent %d bytes, got %d different bytes", len(sentBytes)+1, len(receivedBytes))
100+
t.Fatalf("sent %d bytes, got %d different bytes", len(sentBytes), len(receivedBytes))
101101
}
102102

103103
if after, err := rcv.ReadBytes('\n'); err != nil || string(after) != "after\n" {

0 commit comments

Comments
 (0)
Please sign in to comment.