Tester is the end of a pipe for testing purposes. Once multiple commands have been piped together in a pipeline, we can perform some checks on that input, and decide if a test is a success or a failure.
| 61 | // perform some checks on that input, and decide if a test is a success or a |
| 62 | // failure. |
| 63 | type Tester interface { |
| 64 | Check(input string) error |
| 65 | } |
| 66 | |
| 67 | // CustomTester allows providing a function to check that the input is what we want |
| 68 | type CustomTester func(string) error |
no outgoing calls
no test coverage detected
searching dependent graphs…