Skip to content

Commit

Permalink
Assert on arg.Values
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfrench committed Feb 13, 2024
1 parent e4cec2a commit 46839fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func TestUnboundedArgs(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
arg.Values = &test.values
require.NoError(t, cmd.Run(context.Background(), test.args))
require.Equal(t, test.expected, test.values)
require.Equal(t, test.expected, *arg.Values)
})
}
}

0 comments on commit 46839fa

Please sign in to comment.