diff options
| author | Andrew Balholm <andybalholm@gmail.com> | 2011-11-15 15:31:22 +1100 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2011-11-15 15:31:22 +1100 |
| commit | b91d82258fdab9568f2ccef9f80669c764d4c7ac (patch) | |
| tree | e7bbcb0feab8ff7da526d8c51b7953bd966c083e /src/pkg/html/parse_test.go | |
| parent | a619da9f4af538194a0b31e10e0f77340511fe1f (diff) | |
| download | go-b91d82258fdab9568f2ccef9f80669c764d4c7ac.tar.xz | |
html: auto-close <p> elements when starting <form> element.
Pass tests2.dat, test 26:
<!doctypehtml><p><form>
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <p>
| <form>
Also pass tests through test 32:
<!DOCTYPE html><!-- X
R=nigeltao
CC=golang-dev
https://golang.org/cl/5369114
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 3c278b3145..0fd2dc82b3 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", 26}, + {"tests2.dat", 33}, {"tests3.dat", 0}, } for _, tf := range testFiles { |
