diff options
| author | Andrew Balholm <andybalholm@gmail.com> | 2011-11-29 11:18:49 +1100 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2011-11-29 11:18:49 +1100 |
| commit | c32b60768785684342ebf6efdf50a7476326f473 (patch) | |
| tree | 98b560341ad38ca554334fe1322db5c2b346a66d /src/pkg/html/parse_test.go | |
| parent | 6d4c18a4af447dab97c10e4bd6c8ce5fbb3bcb13 (diff) | |
| download | go-c32b60768785684342ebf6efdf50a7476326f473.tar.xz | |
html: detect quirks mode
Pass tests3.dat, test 23:
<p><table></table>
| <html>
| <head>
| <body>
| <p>
| <table>
R=nigeltao
CC=golang-dev
https://golang.org/cl/5446043
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 9e02173b80..3805bd7e9e 100644 --- a/src/pkg/html/parse_test.go +++ b/src/pkg/html/parse_test.go @@ -152,7 +152,7 @@ func TestParser(t *testing.T) { {"doctype01.dat", -1}, {"tests1.dat", -1}, {"tests2.dat", -1}, - {"tests3.dat", 23}, + {"tests3.dat", -1}, } for _, tf := range testFiles { f, err := os.Open("testdata/webkit/" + tf.filename) |
