github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/prompting/command_line_test.go (about) 1 package prompting 2 3 // TODO: Figure out a way to test command line prompting. I'm not sure that this 4 // is even possible. We might be able to swap out the OS interfaces that gopass 5 // is calling down to, but it would be tricky in a parallel testing environment. 6 // Alternatively, we could restructure the function to more easily test parts of 7 // it, but that's just a bit pointless. The gopass package is so well-tested, 8 // including with tests we wrote, and the wrapper function is so simple, that I 9 // think we probably don't need to bother.