mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
integration test
This commit is contained in:
parent
72682352a6
commit
ff9f2a8c94
12 changed files with 94 additions and 73 deletions
|
@ -8,8 +8,9 @@ import (
|
|||
|
||||
func TestLineWriter(t *testing.T) {
|
||||
lines := make([]string, 0)
|
||||
lineHandler := func(s string) {
|
||||
lineHandler := func(s string) bool {
|
||||
lines = append(lines, s)
|
||||
return true
|
||||
}
|
||||
|
||||
lineWriter := NewLineWriter(lineHandler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue