diff options
author | Nick White <git@njw.name> | 2019-05-13 21:25:08 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-05-13 21:25:08 +0100 |
commit | f6917c22914b40f19b6ae0d59e909371d280dbc4 (patch) | |
tree | b260bfe076f62f986375d0d85caa321d305d99cf /preproc/test_helpers.go | |
parent | 94dd98e8845ab9b9196c745e2b48b24c2fed162b (diff) |
Define flags in each test, so they arent erroneously picked up and used by cmds as they were defined in global package space
Diffstat (limited to 'preproc/test_helpers.go')
-rw-r--r-- | preproc/test_helpers.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/preproc/test_helpers.go b/preproc/test_helpers.go index 7579e88..20de5b1 100644 --- a/preproc/test_helpers.go +++ b/preproc/test_helpers.go @@ -4,16 +4,12 @@ package preproc // TODO: test non integral img version import ( - "flag" "image" "image/draw" "image/png" "os" ) -var slow = flag.Bool("slow", false, "include slow tests") -var update = flag.Bool("update", false, "update golden files") - func decode(s string) (*image.Gray, error) { f, err := os.Open(s) defer f.Close() |