I tried to use the existing go-expect tooling to test this, but had a hard time figuring out how to do so :grimacing:. No amount of fiddling w/ Console (or the Expect* methods) seemed to be able to get at the output written by Prompt.Confirm(). If there's a better way to do this, please let me know and I'll update.
Fixes #449.
I tried to use the existing
go-expect
tooling to test this, but had a hard time figuring out how to do so :grimacing:. No amount of fiddling w/Console
(or theExpect*
methods) seemed to be able to get at the output written byPrompt.Confirm()
. If there's a better way to do this, please let me know and I'll update.