summaryrefslogtreecommitdiffstats
path: root/pkg/i18n/i18n_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/i18n/i18n_test.go')
-rw-r--r--pkg/i18n/i18n_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/i18n/i18n_test.go b/pkg/i18n/i18n_test.go
index cc06e3572..7023ea40a 100644
--- a/pkg/i18n/i18n_test.go
+++ b/pkg/i18n/i18n_test.go
@@ -2,19 +2,11 @@ package i18n
import (
"fmt"
- "io/ioutil"
"testing"
- "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
-func getDummyLog() *logrus.Entry {
- log := logrus.New()
- log.Out = ioutil.Discard
- return log.WithField("test", "test")
-}
-
// TestDetectLanguage is a function.
func TestDetectLanguage(t *testing.T) {
type scenario struct {