#10042: Attempt to add a new test scenario for handling error messages when TTY is unavailable

This commit is contained in:
Mateus Marquezini 2025-01-13 11:39:48 -03:00
parent 977e2326a2
commit c0f6eb0598

View file

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