WithMarkFailed returns a copy of this TestingWriter with markFailed set to the provided value.
(v bool)
| 131 | // WithMarkFailed returns a copy of this TestingWriter with markFailed set to |
| 132 | // the provided value. |
| 133 | func (w TestingWriter) WithMarkFailed(v bool) TestingWriter { |
| 134 | w.markFailed = v |
| 135 | return w |
| 136 | } |
| 137 | |
| 138 | // Write writes bytes from p to the underlying testing.TB. |
| 139 | func (w TestingWriter) Write(p []byte) (n int, err error) { |