aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/html/parse_test.go
diff options
context:
space:
mode:
authorAndrew Balholm <andybalholm@gmail.com>2011-11-08 17:55:17 +1100
committerNigel Tao <nigeltao@golang.org>2011-11-08 17:55:17 +1100
commitf2b602ed4252ca0f37cf1ff0494342b75f0b6bfc (patch)
tree434ab7d6e8a88a591da72e4fb14e4a8185338230 /src/pkg/html/parse_test.go
parentb776b9e724f3edbe4f52d0c1b8dd3ee532a897a3 (diff)
downloadgo-f2b602ed4252ca0f37cf1ff0494342b75f0b6bfc.tar.xz
html: parse <body>, <base>, <link>, <meta>, and <title> tags inside page body
Pass tests1.dat, test 87: <body><body><base><link><meta><title><p></title><body><p></body> | <html> | <head> | <body> | <base> | <link> | <meta> | <title> | "<p>" | <p> Handling the last <body> tag requires correcting the original insertion mode in useTheRulesFor. Also pass test 88: <textarea><p></textarea> R=nigeltao CC=golang-dev https://golang.org/cl/5364047
Diffstat (limited to 'src/pkg/html/parse_test.go')
-rw-r--r--src/pkg/html/parse_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/parse_test.go b/src/pkg/html/parse_test.go
index c938cb9e69..1f4ffa9564 100644
--- a/src/pkg/html/parse_test.go
+++ b/src/pkg/html/parse_test.go
@@ -133,7 +133,7 @@ func TestParser(t *testing.T) {
n int
}{
// TODO(nigeltao): Process all the test cases from all the .dat files.
- {"tests1.dat", 87},
+ {"tests1.dat", 89},
{"tests2.dat", 0},
{"tests3.dat", 0},
}