mirror of
https://github.com/wweir/sower.git
synced 2026-10-19 16:14:33 +00:00
style: gofmt fixes for legacy build tag and test alignment
This commit is contained in:
@@ -1580,8 +1580,9 @@ func (f *failingFlusher) Header() http.Header {
|
||||
}
|
||||
return f.header
|
||||
}
|
||||
func (*failingFlusher) WriteHeader(int) {}
|
||||
func (*failingFlusher) WriteHeader(int) {}
|
||||
func (*failingFlusher) Write(p []byte) (int, error) { return len(p), nil }
|
||||
|
||||
// FlushError is the error-returning form http.ResponseController.Flush
|
||||
// looks for (Go 1.26+); it lets the test fail flushes on demand.
|
||||
func (f *failingFlusher) FlushError() error {
|
||||
|
||||
Reference in New Issue
Block a user