mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 04:33:28 +02:00
25 lines
491 B
Go
25 lines
491 B
Go
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)
|
|
}
|