mirror of https://github.com/docker/docs.git
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
|
@ -18,9 +18,7 @@ func TestShutdownEmpty(t *testing.T) {
|
||||||
|
|
||||||
func TestShutdownAfterRun(t *testing.T) {
|
func TestShutdownAfterRun(t *testing.T) {
|
||||||
eng := New()
|
eng := New()
|
||||||
var called bool
|
|
||||||
eng.Register("foo", func(job *Job) error {
|
eng.Register("foo", func(job *Job) error {
|
||||||
called = true
|
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
if err := eng.Job("foo").Run(); err != nil {
|
if err := eng.Job("foo").Run(); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue