aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/html/parse_test.go
diff options
context:
space:
mode:
authorAndrew Balholm <andybalholm@gmail.com>2011-11-17 13:12:13 +1100
committerNigel Tao <nigeltao@golang.org>2011-11-17 13:12:13 +1100
commita1dbfa6f09d2463f421eaa91ee06e15848df7ba0 (patch)
tree44f1142ecb8342838375fe7d192ec1d739696f2c /src/pkg/html/parse_test.go
parent0b1bcf8f94620b34396b3549ea959646e830c7c8 (diff)
downloadgo-a1dbfa6f09d2463f421eaa91ee06e15848df7ba0.tar.xz
html: parse <isindex>
Pass tests2.dat, test 42: <isindex test=x name=x> | <html> | <head> | <body> | <form> | <hr> | <label> | "This is a searchable index. Enter search keywords: " | <input> | name="isindex" | test="x" | <hr> R=nigeltao CC=golang-dev https://golang.org/cl/5399049
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 07e84907cf..4f15ae1d55 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", 42},
+ {"tests2.dat", 43},
{"tests3.dat", 0},
}
for _, tf := range testFiles {