Command is the simplest way to express a test.TestableCommand for very basic cases where access to test data is not necessary.
(args ...string)
| 19 | // Command is the simplest way to express a test.TestableCommand for very basic cases |
| 20 | // where access to test data is not necessary. |
| 21 | func Command(args ...string) Executor { |
| 22 | return func(_ Data, helpers Helpers) TestableCommand { |
| 23 | return helpers.Command(args...) |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | // Expects is provided as a simple helper covering "expectations" for simple use-cases |
| 28 | // where access to the test data is not necessary. |
nothing calls this directly
no test coverage detected
searching dependent graphs…