Fix refresh test

This commit is contained in:
Mislav Marohnić 2020-12-07 20:07:20 +01:00
parent bc81282a6c
commit 38ea595ce2

View file

@ -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",