Skip to content

Commit

Permalink
Fix test expected values.
Browse files Browse the repository at this point in the history
  • Loading branch information
gadiego92 committed Aug 19, 2023
1 parent 8a0af16 commit 328c4d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/util/command_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -742,8 +742,10 @@ func Test_GetUIDAndGIDFromString(t *testing.T) {
userGroupStr: fmt.Sprintf("%d", currentUserUID),
fallbackToUID: false,
},
wantErr: true,
},
expected: expected{
userID: expectedCurrentUser.userID,
groupID: 0,
}},
{
testname: "only uid and fallback is true",
args: args{
Expand Down

0 comments on commit 328c4d9

Please sign in to comment.