From f33711c5ec333229856a6057ef67e9cce4e545d7 Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios <20590102+rodber@users.noreply.github.com> Date: Sun, 29 Dec 2024 09:28:32 -0300 Subject: [PATCH] test variable flag --- internal/cli/options_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/cli/options_test.go b/internal/cli/options_test.go index b882ff8..07de9e0 100644 --- a/internal/cli/options_test.go +++ b/internal/cli/options_test.go @@ -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{ @@ -52,6 +53,7 @@ func TestParseOptions(t *testing.T) { SymmetricKey: "key", EnableSignVerification: false, SignPrivateKey: "sign_key", + Version: false, }, }, {