Commit 110d512
Add some tests that
The most complicated code dealing with the change to `Stage.Start()`
is the selection of which types of stdin/stderr to pass to stages, and
that's also the main advantage of the new interface. So add a bunch of
tests that the correct types (especially, `io.Pipe()` vs. `os.Pipe()`)
are indeed being selected.Pipeline.Start() picks the right stdin/stdout1 parent b97f38b commit 110d512
3 files changed
Lines changed: 396 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments