mirror of
https://github.com/golang/go
synced 2024-11-12 00:30:22 -07:00
image: add missing error check in test
This commit is contained in:
parent
56c9f8e8cf
commit
b384f81799
@ -123,6 +123,10 @@ loop:
|
||||
continue
|
||||
}
|
||||
c, _, err := decodeConfig(it.filename)
|
||||
if err != nil {
|
||||
t.Errorf("%s: %v", it.filename, err)
|
||||
continue loop
|
||||
}
|
||||
if m.ColorModel() != c.ColorModel {
|
||||
t.Errorf("%s: color models differ", it.filename)
|
||||
continue loop
|
||||
|
Loading…
Reference in New Issue
Block a user