mirror of
https://github.com/golang/go
synced 2024-11-23 21:20:03 -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