([]byte)
| 17 | } |
| 18 | |
| 19 | func (r *mockReader) Read([]byte) (int, error) { |
| 20 | return r.n, r.err |
| 21 | } |
| 22 | |
| 23 | // Helper function for setting os.Stdin for mocking in tests. |
| 24 | func setStdin(f *os.File) (cleanup func()) { |
no outgoing calls
no test coverage detected