Skip to content

Commit

Permalink
Fix wrong environment variable in agent's test name
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Nihelton <[email protected]>
  • Loading branch information
EduardGomezEscandell and CarlosNihelton committed Nov 28, 2023
1 parent 25aaac3 commit 42856d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows-agent/internal/daemon/daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func TestNew(t *testing.T) {

wantErr bool
}{
"Success": {},
"Error because of empty %USERDIRECTORY%": {badEnv: true, wantErr: true},
"Success": {},
"Error because of empty %USERPROFILE%": {badEnv: true, wantErr: true},
}

for name, tc := range testCases {
Expand Down

0 comments on commit 42856d7

Please sign in to comment.