summaryrefslogtreecommitdiff
path: root/test_helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'test_helpers.go')
-rw-r--r--test_helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_helpers.go b/test_helpers.go
index 97a43dd..d36ef67 100644
--- a/test_helpers.go
+++ b/test_helpers.go
@@ -30,7 +30,7 @@ func decode(s string) (*image.Gray, error) {
return gray, nil
}
-func imgsequal(img1 *image.Gray, img2 *image.Gray) bool {
+func imgsequal(img1, img2 image.Image) bool {
b := img1.Bounds()
if !b.Eq(img2.Bounds()) {
return false