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 Jun 30, 2023
1 parent 654e2c5 commit 230b3fb
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 230b3fb

Please sign in to comment.