aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/html/parse_test.go
diff options
context:
space:
mode:
authorAndrew Balholm <andybalholm@gmail.com>2011-11-30 15:37:41 +1100
committerNigel Tao <nigeltao@golang.org>2011-11-30 15:37:41 +1100
commit3b3922771a1ace2e4781f7e53a16cf566f2c27bf (patch)
treef45c9f95c91b59a8c96ff738429b7affd270e71a /src/pkg/html/parse_test.go
parente32f4ba77d920411e916cece41b3a40e0db0a074 (diff)
downloadgo-3b3922771a1ace2e4781f7e53a16cf566f2c27bf.tar.xz
html: parse <xmp> tags
Pass tests5.dat, test 10: <p><xmp></xmp> | <html> | <head> | <body> | <p> | <xmp> Also pass the remaining tests in tests5.dat. R=nigeltao CC=golang-dev https://golang.org/cl/5440062
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 1e39f3ed70..ea72557a0b 100644
--- a/src/pkg/html/parse_test.go
+++ b/src/pkg/html/parse_test.go
@@ -154,7 +154,7 @@ func TestParser(t *testing.T) {
{"tests2.dat", -1},
{"tests3.dat", -1},
// tests4.dat is fragment cases.
- {"tests5.dat", 10},
+ {"tests5.dat", -1},
}
for _, tf := range testFiles {
f, err := os.Open("testdata/webkit/" + tf.filename)