1
0
mirror of https://github.com/golang/go synced 2024-09-30 02:34:40 -06:00

bytes: correct message in test log

Change-Id: Ib731874b9a37ff141e4305d8ccfdf7c165155da6
Reviewed-on: https://go-review.googlesource.com/64930
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Gabriel Aszalos 2017-09-20 11:01:32 +02:00 committed by Ian Lance Taylor
parent 7582494e06
commit a696db1be1

View File

@ -142,7 +142,7 @@ func TestBasicOperations(t *testing.T) {
n, err = buf.Write([]byte(data[2:26]))
if n != 24 {
t.Errorf("wrote 25 bytes, but n == %d", n)
t.Errorf("wrote 24 bytes, but n == %d", n)
}
check(t, "TestBasicOperations (6)", &buf, string(data[0:26]))