From b2cf57104090b0cc148c0608f10f33cdfb48ec11 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Mon, 21 Mar 2016 00:13:36 +0100 Subject: 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 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/bufio/scan_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/bufio/scan_test.go') 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" -- cgit v1.3