diff options
| author | Gabriel Aszalos <gabriel.aszalos@gmail.com> | 2017-09-20 11:01:32 +0200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-09-20 12:46:54 +0000 |
| commit | a696db1be16592dbb57c3dca6a1a6ca32741859a (patch) | |
| tree | 65ef203281f3cba5acb66d307d93e928f18d5b3b /src/bytes | |
| parent | 7582494e063e12dddc5c99a831d0c28cda2df635 (diff) | |
| download | go-a696db1be16592dbb57c3dca6a1a6ca32741859a.tar.xz | |
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>
Diffstat (limited to 'src/bytes')
| -rw-r--r-- | src/bytes/buffer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/buffer_test.go b/src/bytes/buffer_test.go index dcfbfced92..597dd13092 100644 --- a/src/bytes/buffer_test.go +++ b/src/bytes/buffer_test.go @@ -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])) |
