move test functions and test utils functions in their own package
This commit is contained in:
+4
-1
@@ -1,4 +1,4 @@
|
||||
package logrus
|
||||
package logrus_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -8,6 +8,9 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
. "github.com/sirupsen/logrus"
|
||||
. "github.com/sirupsen/logrus/internal/testutils"
|
||||
)
|
||||
|
||||
type TestHook struct {
|
||||
|
||||
Reference in New Issue
Block a user