Unwanted declaration causing compilation issues with gccgo

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Upstream-commit: 73d08528ea9b043cbe941b1219b1c55625c636a8
Component: engine
This commit is contained in:
root
2015-04-10 19:47:15 +00:00
committed by Srini Brahmaroutu
parent 59aa4a9b9f
commit fd315b5f1a
@@ -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 {