Fix refresh test
This commit is contained in:
parent
bc81282a6c
commit
38ea595ce2
1 changed files with 5 additions and 3 deletions
|
|
@ -37,9 +37,11 @@ func Test_NewCmdRefresh(t *testing.T) {
|
|||
wantsErr: true,
|
||||
},
|
||||
{
|
||||
name: "nontty hostname",
|
||||
cli: "-h aline.cedrac",
|
||||
wantsErr: true,
|
||||
name: "nontty hostname",
|
||||
cli: "-h aline.cedrac",
|
||||
wants: RefreshOptions{
|
||||
Hostname: "aline.cedrac",
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "tty hostname",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue