mirror of
https://github.com/golang/go.git
synced 2024-09-30 14:57:10 +00:00
parent
ca2a69ea06
commit
7df45566db
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user