• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jlaffaye / ftp / 8113579643

01 Mar 2024 03:23PM UTC coverage: 72.431%. Remained the same
8113579643

Pull #365

github

web-flow
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #365: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

712 of 983 relevant lines covered (72.43%)

18.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/debug.go
1
package ftp
2

3
import "io"
4

5
type debugWrapper struct {
6
        conn io.ReadWriteCloser
7
        io.Reader
8
        io.Writer
9
}
10

11
func newDebugWrapper(conn io.ReadWriteCloser, w io.Writer) io.ReadWriteCloser {
×
12
        return &debugWrapper{
×
13
                Reader: io.TeeReader(conn, w),
×
14
                Writer: io.MultiWriter(w, conn),
×
15
                conn:   conn,
×
16
        }
×
17
}
×
18

19
func (w *debugWrapper) Close() error {
×
20
        return w.conn.Close()
×
21
}
×
22

23
type streamDebugWrapper struct {
24
        io.Reader
25
        closer io.ReadCloser
26
}
27

28
func newStreamDebugWrapper(rd io.ReadCloser, w io.Writer) io.ReadCloser {
×
29
        return &streamDebugWrapper{
×
30
                Reader: io.TeeReader(rd, w),
×
31
                closer: rd,
×
32
        }
×
33
}
×
34

35
func (w *streamDebugWrapper) Close() error {
×
36
        return w.closer.Close()
×
37
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc