aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/html/parse_test.go
diff options
context:
space:
mode:
authorAndrew Balholm <andybalholm@gmail.com>2011-11-17 10:25:33 +1100
committerNigel Tao <nigeltao@golang.org>2011-11-17 10:25:33 +1100
commit3276afd4d4ae45afee834c7455abbb9be1906540 (patch)
treeab4e054403880cb47157f8984ff38dd637f75bc5 /src/pkg/html/parse_test.go
parent8c6461bcb166cf9234be2e61eeab882f5856521b (diff)
downloadgo-3276afd4d4ae45afee834c7455abbb9be1906540.tar.xz
html: parse </optgroup> and </option>
Pass tests2.dat, test 35: <!DOCTYPE html><select><optgroup><option></optgroup><option><select><option> | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <optgroup> | <option> | <option> | <option> Also pass tests through test 41: <!DOCTYPE html><!-- XXX - XXX - XXX --> R=nigeltao, rsc CC=golang-dev https://golang.org/cl/5395045
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 01d1facc1a..07e84907cf 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", 35},
+ {"tests2.dat", 42},
{"tests3.dat", 0},
}
for _, tf := range testFiles {