Skip to content

Commit

Permalink
Fixup linting for windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dricross committed Jan 3, 2025
1 parent 868b19c commit e55d6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/aws/containerinsight/utils_windows_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

func TestHostProcessContainer(t *testing.T) {
t.Setenv(RunInContainer, "True")
assert.Equal(t, IsWindowsHostProcessContainer(), false)
assert.False(t, IsWindowsHostProcessContainer())

t.Setenv(RunAsHostProcessContainer, "True")
assert.Equal(t, IsWindowsHostProcessContainer(), true)
assert.True(t, IsWindowsHostProcessContainer())
}

0 comments on commit e55d6e6

Please sign in to comment.