diff options
| author | Robert Griesemer <gri@golang.org> | 2009-11-05 18:14:47 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2009-11-05 18:14:47 -0800 |
| commit | 40c3246c9a7f65328028039633092e7a2074421d (patch) | |
| tree | 3184ba8fa0cf53593c5f1d615ad3b44dc625f22f /src/pkg/xml/xml_test.go | |
| parent | 0b373283f7748d90655dc1dc7c6b90069247f681 (diff) | |
| download | golang-40c3246c9a7f65328028039633092e7a2074421d.tar.gz | |
gofmt the last outstanding files in src/pkg
- added a list of issues to printer/nodes.go
R=rsc
http://go/go-review/1024002
Diffstat (limited to 'src/pkg/xml/xml_test.go')
| -rw-r--r-- | src/pkg/xml/xml_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pkg/xml/xml_test.go b/src/pkg/xml/xml_test.go index 7d0da8f19..e8a2a8769 100644 --- a/src/pkg/xml/xml_test.go +++ b/src/pkg/xml/xml_test.go @@ -16,7 +16,8 @@ const testInput = ` <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<body xmlns:foo="ns1" xmlns="ns2" xmlns:tag="ns3" ` "\r\n\t" ` > +<body xmlns:foo="ns1" xmlns="ns2" xmlns:tag="ns3" ` + "\r\n\t" ` > <hello lang="en">World <>'" 白鵬翔</hello> <goodbye /> <outer foo:attr="value" xmlns:tag="ns4"> @@ -90,8 +91,8 @@ var cookedTokens = []Token{ } type stringReader struct { - s string; - off int; + s string; + off int; } func (r *stringReader) Read(b []byte) (n int, err os.Error) { @@ -116,7 +117,7 @@ func (r *stringReader) ReadByte() (b byte, err os.Error) { } func StringReader(s string) io.Reader { - return &stringReader{s, 0} + return &stringReader{s, 0}; } func TestRawToken(t *testing.T) { @@ -146,4 +147,3 @@ func TestToken(t *testing.T) { } } } - |
