writeFixtureBuffer is a wrapper for writing the main output of the task to a fixture file.
( t *testing.T, g *goldie.Goldie, buff bytes.Buffer, )
| 104 | // writeFixtureBuffer is a wrapper for writing the main output of the task to a |
| 105 | // fixture file. |
| 106 | func (tt *TaskTest) writeFixtureBuffer( |
| 107 | t *testing.T, |
| 108 | g *goldie.Goldie, |
| 109 | buff bytes.Buffer, |
| 110 | ) { |
| 111 | t.Helper() |
| 112 | tt.writeFixture(t, g, "", buff.Bytes()) |
| 113 | } |
| 114 | |
| 115 | // writeFixtureErrSetup is a wrapper for writing the output of an error during |
| 116 | // the setup phase of the task to a fixture file. |
no test coverage detected