diff options
author | Dominik Honnef <dominik@honnef.co> | 2016-03-21 00:13:36 +0100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-03-21 07:10:08 +0000 |
commit | b2cf57104090b0cc148c0608f10f33cdfb48ec11 (patch) | |
tree | f93b22537cc79468014fa6d82ca1e4975d3a8e91 /src/bufio | |
parent | 1a82946ea5a98f5e7a7ec416bc83a7cba701e9b8 (diff) | |
download | go-b2cf57104090b0cc148c0608f10f33cdfb48ec11.tar.gz go-b2cf57104090b0cc148c0608f10f33cdfb48ec11.zip |
all: delete dead test code
This deletes unused code and helpers from tests.
Change-Id: Ie31d46115f558ceb8da6efbf90c3c204e03b0d7e
Reviewed-on: https://go-review.googlesource.com/20927
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/bufio')
-rw-r--r-- | src/bufio/scan_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bufio/scan_test.go b/src/bufio/scan_test.go index d64d0b45d7..1bb1e88393 100644 --- a/src/bufio/scan_test.go +++ b/src/bufio/scan_test.go @@ -264,10 +264,6 @@ func testNoNewline(text string, lines []string, t *testing.T) { } } -var noNewlineLines = []string{ - "abcdefghijklmn\nopqrstuvwxyz", -} - // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz" |