Unwanted declaration causing compilation issues with gccgo

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
root 2015-04-10 18:00:33 +00:00 committed by Srini Brahmaroutu
parent 6d8bba0cc8
commit 73d08528ea
1 changed files with 0 additions and 2 deletions

View File

@ -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 {