Permalink
Browse files

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>
  • Loading branch information...
gbbr authored and ianlancetaylor committed Sep 20, 2017
1 parent 7582494 commit a696db1be16592dbb57c3dca6a1a6ca32741859a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bytes/buffer_test.go
View
@@ -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]))

0 comments on commit a696db1

Please sign in to comment.