mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-13 03:13:42 +00:00
integration test
This commit is contained in:
12 files changed
+94
-73
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user