#10042: Attempt to add a new test scenario for handling error messages when TTY is unavailable
This commit is contained in:
parent
977e2326a2
commit
c0f6eb0598
1 changed files with 5 additions and 2 deletions
|
|
@ -520,8 +520,11 @@ func Test_editRun(t *testing.T) {
|
|||
},
|
||||
},
|
||||
{
|
||||
name: "no arguments notty",
|
||||
nontty: true,
|
||||
name: "no arguments notty",
|
||||
nontty: true,
|
||||
opts: &EditOptions{
|
||||
Selector: "",
|
||||
},
|
||||
wantErr: "gist ID or URL required when not running interactively",
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue