rewrite checkpoint

This commit is contained in:
Cory Bennett
2017-08-13 18:23:38 -07:00
parent b00021ccbd
commit 36632a52f0
883 changed files with 222856 additions and 2972 deletions
+24
View File
@@ -0,0 +1,24 @@
package main
import (
"github.com/AlecAivazis/survey"
"github.com/AlecAivazis/survey/tests/util"
)
var value = ""
var table = []TestUtil.TestTableEntry{
{
"standard", &survey.Password{Message: "Please type your password:"}, &value,
},
{
"please make sure paste works", &survey.Password{Message: "Please paste your password:"}, &value,
},
{
"no help, send '?'", &survey.Password{Message: "Please type your password:"}, &value,
},
}
func main() {
TestUtil.RunTable(table)
}