]> Cypherpunks repositories - gostls13.git/commit
html: refactor parse test infrastructure
authorAndrew Balholm <andybalholm@gmail.com>
Sun, 20 Nov 2011 11:42:28 +0000 (22:42 +1100)
committerNigel Tao <nigeltao@golang.org>
Sun, 20 Nov 2011 11:42:28 +0000 (22:42 +1100)
commit05d8d112fe4e78273d2ca0fe7d388a76d9e02407
tree763903842ea8c6c282ba4660f5849d26b968d196
parentdbb591d8da7e1958c40bc5ed631590029b94f764
html: refactor parse test infrastructure

My excuse for doing this is that test cases with newlines in them didn't
work. But instead of just fixing that, I rearranged everything in
parse_test.go to use fewer channels and pipes, and just call a
straightforward function to read test cases from a file.

R=nigeltao
CC=golang-dev
https://golang.org/cl/5410049
src/pkg/html/parse_test.go