summaryrefslogtreecommitdiff
path: root/preproc/wipesides_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'preproc/wipesides_test.go')
-rw-r--r--preproc/wipesides_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/preproc/wipesides_test.go b/preproc/wipesides_test.go
index f66f39b..d5464e0 100644
--- a/preproc/wipesides_test.go
+++ b/preproc/wipesides_test.go
@@ -4,6 +4,7 @@ package preproc
// TODO: test non integral img version
import (
+ "flag"
"fmt"
"image"
"image/png"
@@ -12,6 +13,7 @@ import (
)
func TestWipeSides(t *testing.T) {
+ var update = flag.Bool("updatewipe", false, "update golden files")
cases := []struct {
name string
orig string