Commit 43c44b0
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.
Signed-off-by: SAY-5 <say.apm35@gmail.com>1 parent e5bbf20 commit 43c44b0
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