1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-06 17:40:58 +00:00

improve linting

This commit is contained in:
Casey Lee 2019-01-15 17:41:02 -08:00
parent c9c2a3d905
commit d2c440bf4f
7 changed files with 136 additions and 61 deletions

View file

@ -22,11 +22,11 @@ func TestNewWorkflow(t *testing.T) {
runcount := 0
successWorkflow := NewPipelineExecutor(
func() error {
runcount = runcount + 1
runcount ++
return nil
},
func() error {
runcount = runcount + 1
runcount ++
return nil
})
assert.Nil(successWorkflow())