Helpers writeFixtureErrRun is a wrapper for writing the output of an error during the run phase of the task to a fixture file.
( t *testing.T, g *goldie.Goldie, err error, )
| 118 | // writeFixtureErrRun is a wrapper for writing the output of an error during the |
| 119 | // run phase of the task to a fixture file. |
| 120 | func (tt *ExecutorTest) writeFixtureErrRun( |
| 121 | t *testing.T, |
| 122 | g *goldie.Goldie, |
| 123 | err error, |
| 124 | ) { |
| 125 | t.Helper() |
| 126 | tt.writeFixture(t, g, "err-run", []byte(err.Error())) |
| 127 | } |
| 128 | |
| 129 | // writeFixtureStatus is a wrapper for writing the output of an error when |
| 130 | // making an additional call to [task.Executor.Status] to a fixture file. |
no test coverage detected