Verify --body and --body-file are not assignable at the same time
This commit is contained in:
parent
1520292726
commit
6dc8cc41d0
1 changed files with 5 additions and 0 deletions
|
|
@ -112,6 +112,11 @@ func TestNewCmdEdit(t *testing.T) {
|
|||
},
|
||||
wantsErr: false,
|
||||
},
|
||||
{
|
||||
name: "both body and body-file flags",
|
||||
input: "23 --body foo --body-file bar",
|
||||
wantsErr: true,
|
||||
},
|
||||
{
|
||||
name: "base flag",
|
||||
input: "23 --base base-branch-name",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue