diff options
| author | Andrew Balholm <andybalholm@gmail.com> | 2011-11-03 17:12:13 +1100 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2011-11-03 17:12:13 +1100 |
| commit | 77aabbf217a93d59dd6c9d77e3b91b153291a79e (patch) | |
| tree | 3f2b3756fe666c7fae6cedf55d95f3f1f3c5620c /src/pkg/html/parse_test.go | |
| parent | 1c530d5d7812f6aa155f513264a43c28e3b22a0d (diff) | |
| download | go-77aabbf217a93d59dd6c9d77e3b91b153291a79e.tar.xz | |
html: parse <link> elements in <head>
Pass tests1.dat, test 83:
<title><meta></title><link><title><meta></title>
| <html>
| <head>
| <title>
| "<meta>"
| <link>
| <title>
| "<meta>"
| <body>
Also pass test 84:
<style><!--</style><meta><script>--><link></script>
R=nigeltao
CC=golang-dev
https://golang.org/cl/5331061
Diffstat (limited to 'src/pkg/html/parse_test.go')
| -rw-r--r-- | src/pkg/html/parse_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/parse_test.go b/src/pkg/html/parse_test.go index 65fc8edaed..3194a3fa47 100644 --- a/src/pkg/html/parse_test.go +++ b/src/pkg/html/parse_test.go @@ -133,7 +133,7 @@ func TestParser(t *testing.T) { rc := make(chan io.Reader) go readDat(filename, rc) // TODO(nigeltao): Process all test cases, not just a subset. - for i := 0; i < 83; i++ { + for i := 0; i < 85; i++ { // Parse the #data section. b, err := ioutil.ReadAll(<-rc) if err != nil { |
