move test functions and test utils functions in their own package

This commit is contained in:
David Bariod
2018-10-28 14:07:57 +01:00
parent ec57031db1
commit fa01b53097
3 changed files with 79 additions and 63 deletions
+4 -1
View File
@@ -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 {