Skip to content

Commit

Permalink
add test for invalid command
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Ng <[email protected]>
  • Loading branch information
wernken-ng committed Sep 6, 2023
1 parent e10181a commit 02df0f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/comment_actions/parsing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func TestParseCommentCommand(t *testing.T) {
Command: "apply",
},
}, nil, "long flag for allow empty run"},
{"tfc apply -k", nil, ErrPermanent, "invalid command"},
}

for _, tc := range tcs {
Expand Down

0 comments on commit 02df0f2

Please sign in to comment.