From a47b35dc44f0e770a1bb1f7b53b6aa11d6895e0b Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 26 Feb 2020 16:28:57 +0000 Subject: Fix flag parsing with go test, and switch to -short to gate long tests --- wipesides_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'wipesides_test.go') diff --git a/wipesides_test.go b/wipesides_test.go index ffd60cb..4906c5b 100644 --- a/wipesides_test.go +++ b/wipesides_test.go @@ -8,7 +8,6 @@ package preproc // TODO: test non integral img version import ( - "flag" "fmt" "image" "image/png" @@ -17,7 +16,6 @@ import ( ) func TestWipeSides(t *testing.T) { - var update = flag.Bool("updatewipe", false, "update golden files") cases := []struct { name string orig string -- cgit v1.2.1-24-ge1ad