diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go index dc54f5ae..f6590875 100644 --- a/internal/cli/cli_test.go +++ b/internal/cli/cli_test.go @@ -771,7 +771,7 @@ func runPackCmd(t *testing.T, args []string) PackCommandResult { command := &cli.CLI{ Name: "nomad-pack", Args: args, - Version: fmt.Sprintf("Nomad Pack %s", version.HumanVersion()), + Version: version.GetVersion().FullVersionNumber(true), Commands: commands, Autocomplete: true, AutocompleteNoDefaultFlags: true, diff --git a/internal/cli/cli_v1_test.go b/internal/cli/cli_v1_test.go index a212745a..f2863af6 100644 --- a/internal/cli/cli_v1_test.go +++ b/internal/cli/cli_v1_test.go @@ -721,7 +721,7 @@ func runPackV1Cmd(t *testing.T, args []string) PackCommandResult { command := &cli.CLI{ Name: "nomad-pack", Args: args, - Version: fmt.Sprintf("Nomad Pack %s", version.HumanVersion()), + Version: version.GetVersion().FullVersionNumber(true), Commands: commands, Autocomplete: true, AutocompleteNoDefaultFlags: true,