Commit 17993f1
committed
test(build): update TestPipeReader call to new splitReader(ctx, reader) signature
The earlier commit on this branch added context.Context as the first
argument of splitReader so the copy goroutine can unblock on ctx.Done().
TestPipeReader still passed only the reader, which tripped the lint/CI
typecheck:
pkg/backend/build/builder_test.go:287:24: not enough arguments in call to splitReader
have (*strings.Reader)
want (context.Context, io.Reader)
Pass context.Background() so the test exercises the new signature.
`context` is already imported by other tests in this file.1 parent 878cf2a commit 17993f1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
0 commit comments