Skip to content

Commit

Permalink
Fix unit test for loki syncer
Browse files Browse the repository at this point in the history
  • Loading branch information
dongxuny committed Jan 30, 2022
1 parent c2db06f commit 12df4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncer_loki_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestLokiSyncer_Write(t *testing.T) {
func TestLokiSyncer_Sync(t *testing.T) {
defer assertNotPanic(t)

syncer := &LokiSyncer{}
syncer := NewLokiSyncer()
assert.Nil(t, syncer.Sync())
}

Expand Down

0 comments on commit 12df4d6

Please sign in to comment.