Skip to content

Commit

Permalink
Add test for version subcommand
Browse files Browse the repository at this point in the history
Added test to keep coverage rate.
  • Loading branch information
ansasaki committed May 28, 2018
1 parent fa2af44 commit f68c73c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/data_template/test_script/options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@
warnings:
- "No valid symbols provided. Nothing done."
exceptions:
-
input:
args:
- "version"
stdin: "empty.in"
output:
file:
stdout: "version.stdout"
warnings:
exceptions:
1 change: 1 addition & 0 deletions tests/data_template/test_script/version.stdout
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROGRAM_NAME_VERSION

0 comments on commit f68c73c

Please sign in to comment.