gofmt-ify image

R=rsc
http://go/go-review/1017044
This commit is contained in:
Robert Griesemer 2009-11-04 22:52:28 -08:00
parent ca2a69ea06
commit 7df45566db
2 changed files with 16 additions and 16 deletions

View File

@ -114,7 +114,7 @@ func TestReader(t *testing.T) {
image, err := readPng("testdata/pngsuite/" + fn + ".png");
if err != nil {
t.Error(fn, err);
continue
continue;
}
piper, pipew := io.Pipe();
pb := bufio.NewReader(piper);
@ -125,13 +125,13 @@ func TestReader(t *testing.T) {
sf, err := os.Open("testdata/pngsuite/" + fn + ".sng", os.O_RDONLY, 0444);
if err != nil {
t.Error(fn, err);
continue
continue;
}
defer sf.Close();
sb := bufio.NewReader(sf);
if err != nil {
t.Error(fn, err);
continue
continue;
}
// Compare the two, in SNG format, line by line.