summaryrefslogtreecommitdiffstats
path: root/modules/log/manager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/manager_test.go')
-rw-r--r--modules/log/manager_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/log/manager_test.go b/modules/log/manager_test.go
index b8fbf84613..3839080172 100644
--- a/modules/log/manager_test.go
+++ b/modules/log/manager_test.go
@@ -7,6 +7,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
)
func TestSharedWorker(t *testing.T) {
@@ -16,7 +17,7 @@ func TestSharedWorker(t *testing.T) {
m := NewManager()
_, err := m.NewSharedWriter("dummy-1", "dummy", WriterMode{Level: DEBUG, Flags: FlagsFromBits(0)})
- assert.NoError(t, err)
+ require.NoError(t, err)
w := m.GetSharedWriter("dummy-1")
assert.NotNil(t, w)