Skip to content

Commit

Permalink
[chore] Fix TestPerfCounter_Reset test
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Dec 9, 2024
1 parent 94d097a commit b5b3c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/winperfcounters/watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func TestPerfCounter_Reset(t *testing.T) {

// new query is different instance of same counter.
require.NoError(t, err)
assert.NotSame(t, handle, pc.handle)
assert.NotEqual(t, handle, pc.handle)
assert.NotSame(t, query, pc.query)
assert.Equal(t, path, pc.Path())

Expand Down

0 comments on commit b5b3c41

Please sign in to comment.