Skip to content

Commit

Permalink
Merge pull request #34 from ericjaystevens/feature_remainingTextArg
Browse files Browse the repository at this point in the history
improved coverage a bit
  • Loading branch information
ericjaystevens committed Aug 25, 2020
2 parents 31d6b83 + ed1e442 commit 15ea52c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions slashparse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,12 @@ func TestExecute(t *testing.T) {
want: "required field text is missing, see /print help for more details",
slashDef: SimpleDef,
},
{
name: "missing 3 required args",
commandString: `/print reverse`,
want: "required field text is missing, see /print help for more details",
slashDef: SimpleDef,
},
}

for _, test := range tests {
Expand Down

0 comments on commit 15ea52c

Please sign in to comment.