Skip to content

Commit

Permalink
test: add version command
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <[email protected]>
  • Loading branch information
alegrey91 committed Apr 23, 2024
1 parent 2278186 commit 3cd1e17
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/version.txtar
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# this testscript test the 'apply' command

# if go is not installed, then skip
[!exec:go] skip

exec fwdctl version --help
stdout 'Usage:'

exec fwdctl version
stdout 'dev'

# use an invalid argument
exec fwdctl version -x
stdout 'Usage:'

0 comments on commit 3cd1e17

Please sign in to comment.