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/encoding/xml/xml_test.go | |
| parent | 1a82946ea5a98f5e7a7ec416bc83a7cba701e9b8 (diff) | |
| download | go-b2cf57104090b0cc148c0608f10f33cdfb48ec11.tar.xz | |
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/encoding/xml/xml_test.go')
| -rw-r--r-- | src/encoding/xml/xml_test.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/encoding/xml/xml_test.go b/src/encoding/xml/xml_test.go index 6b8d8e9b61..dad6ed98c1 100644 --- a/src/encoding/xml/xml_test.go +++ b/src/encoding/xml/xml_test.go @@ -184,8 +184,6 @@ const nonStrictInput = ` <tag>&0a;</tag> ` -var nonStringEntity = map[string]string{"": "oops!", "0a": "oops!"} - var nonStrictTokens = []Token{ CharData("\n"), StartElement{Name{"", "tag"}, []Attr{}}, @@ -652,10 +650,6 @@ func TestDisallowedCharacters(t *testing.T) { } } -type procInstEncodingTest struct { - expect, got string -} - var procInstTests = []struct { input string expect [2]string |
