Skip to content

Commit

Permalink
Fix wring 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 authored Nov 28, 2023
1 parent 3ab1b21 commit 72d3fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows-agent/internal/daemon/daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestNew(t *testing.T) {
wantErr bool
}{
"Success": {},

Check failure on line 31 in windows-agent/internal/daemon/daemon_test.go

View workflow job for this annotation

GitHub Actions / Go Quality checks (ubuntu, windows-agent)

File is not `gci`-ed with --skip-generated -s standard -s default (gci)

Check failure on line 31 in windows-agent/internal/daemon/daemon_test.go

View workflow job for this annotation

GitHub Actions / Go Quality checks (windows, windows-agent)

File is not `gci`-ed with --skip-generated -s standard -s default (gci)
"Error because of empty %USERDIRECTORY%": {badEnv: true, wantErr: true},
"Error because of empty %USERPROFILE%": {badEnv: true, wantErr: true},
}

for name, tc := range testCases {
Expand Down

0 comments on commit 72d3fa5

Please sign in to comment.