Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angrycub committed Oct 9, 2023
1 parent 3b55ab2 commit b9ffbe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/cli_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b9ffbe1

Please sign in to comment.