Skip to content

Commit

Permalink
Fix broken test on Windows (#4313)
Browse files Browse the repository at this point in the history
  • Loading branch information
thampiotr authored and clayton-cornell committed Aug 14, 2023
1 parent ab99e0b commit 23438b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/loki/source/windowsevent/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestEventLogger(t *testing.T) {
case <-ctx.Done():
// Fail!
require.True(t, false)
case e := <-rec:
case e := <-rec.Chan():
if strings.Contains(e.Line, tm) {
found = true
break
Expand Down

0 comments on commit 23438b0

Please sign in to comment.