mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Unwanted declaration causing compilation issues with gccgo
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
parent
6d8bba0cc8
commit
73d08528ea
1 changed files with 0 additions and 2 deletions
|
@ -18,9 +18,7 @@ func TestShutdownEmpty(t *testing.T) {
|
|||
|
||||
func TestShutdownAfterRun(t *testing.T) {
|
||||
eng := New()
|
||||
var called bool
|
||||
eng.Register("foo", func(job *Job) error {
|
||||
called = true
|
||||
return nil
|
||||
})
|
||||
if err := eng.Job("foo").Run(); err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue