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:
parent
c9c2a3d905
commit
d2c440bf4f
7 changed files with 136 additions and 61 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue