1
0
mirror of https://github.com/golang/go synced 2024-11-08 01:46:14 -07:00
go/src/bytes
Gabriel Aszalos 977578816e bytes: improve test readability
This CL improves the readability of the tests in the bytes package by
naming the `data` test variable `testString`, using the same convention
as its counterpart, `testBytes`.

It additionally removes some type casting which was unnecessary.

Change-Id: If38b5606ce8bda0306bae24498f21cb8dbbb6377
Reviewed-on: https://go-review.googlesource.com/64931
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-09-20 13:41:03 +00:00
..
buffer_test.go bytes: improve test readability 2017-09-20 13:41:03 +00:00
buffer.go bytes: removed unnecessary slicing on copy 2017-09-18 16:48:34 +00:00
bytes_amd64.go internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
bytes_decl.go
bytes_generic.go bytes: add optimized countByte for amd64 2017-03-21 20:25:17 +00:00
bytes_s390x.go bytes: add optimized countByte for amd64 2017-03-21 20:25:17 +00:00
bytes_test.go bytes: speed up Fields and FieldsFunc 2017-08-14 21:08:51 +00:00
bytes.go all: unindent some big chunks of code 2017-08-18 06:59:48 +00:00
compare_test.go
equal_test.go
example_test.go bytes: add example for Len function of Reader 2017-09-17 00:02:19 +00:00
export_test.go bytes: add optimized countByte for amd64 2017-03-21 20:25:17 +00:00
reader_test.go bytes: improve test readability 2017-09-20 13:41:03 +00:00
reader.go