Skip to content

Commit

Permalink
test variable flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Dec 29, 2024
1 parent 609d7be commit f33711c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cli/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func TestParseOptions(t *testing.T) {
"s": {Variable: "SymmetricKey", Type: "string", Default: "key"},
"v": {Variable: "EnableSignVerification", Type: "bool", Default: false},
"g": {Variable: "SignPrivateKey", Type: "string", Default: "sign_key"},
"version": {Variable: "Version", Type: "bool", Default: false},
},
},
expected: Options{
Expand All @@ -52,6 +53,7 @@ func TestParseOptions(t *testing.T) {
SymmetricKey: "key",
EnableSignVerification: false,
SignPrivateKey: "sign_key",
Version: false,
},
},
{
Expand Down

0 comments on commit f33711c

Please sign in to comment.