diff options
| author | Andrew Balholm <andybalholm@gmail.com> | 2011-11-22 12:08:22 +1100 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2011-11-22 12:08:22 +1100 |
| commit | 95e60acb97f26f56b459fc0ef75f63ccb502c9ed (patch) | |
| tree | 2b59e19c20dd4142bd8ae739990ac90f5a64f5fb /src/pkg/html/parse_test.go | |
| parent | 750de28d6ceb5c42637b08fb87f2de2f826ed0eb (diff) | |
| download | go-95e60acb97f26f56b459fc0ef75f63ccb502c9ed.tar.xz | |
html: copy attributes from extra <html> tags to root element
Pass tests2.dat, test 50:
<!DOCTYPE html><html><body><html id=x>
| <!DOCTYPE html>
| <html>
| id="x"
| <head>
| <body>
Also pass tests through test 56:
<!DOCTYPE html>X<p/x/y/z>
R=nigeltao
CC=golang-dev
https://golang.org/cl/5432045
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 808300a289..3566f9f941 100644 --- a/src/pkg/html/parse_test.go +++ b/src/pkg/html/parse_test.go @@ -134,7 +134,7 @@ func TestParser(t *testing.T) { }{ // TODO(nigeltao): Process all the test cases from all the .dat files. {"tests1.dat", -1}, - {"tests2.dat", 50}, + {"tests2.dat", 57}, {"tests3.dat", 0}, } for _, tf := range testFiles { |
