implement io.WriterTo in built-in Node types
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M http/handler_test.go → http/handler_test.go
@@ -83,6 +83,10 @@ } type erroringNode struct{} +func (n erroringNode) WriteTo(io.Writer) (int64, error) { + return 0, errors.New("don't want to") +} + func (n erroringNode) Render(io.Writer) error { return errors.New("don't want to") }