mirror of https://github.com/perkeep/perkeep.git
camput: fix tests
This commit is contained in:
parent
08923e1c00
commit
e3491e5515
|
@ -71,6 +71,11 @@ func init() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// So multiple cmd/camput TestFoo funcs run, each with
|
||||
// an fresh (and not previously closed) Uploader:
|
||||
uploader = nil
|
||||
uploaderOnce = sync.Once{}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue