Skip to content

Commit

Permalink
add fake test for hit coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kubitre committed Apr 20, 2020
1 parent d5970ba commit eb46090
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"testing"

"github.com/goreflect/gostructor/infra"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)

Expand Down Expand Up @@ -173,3 +174,8 @@ func Test_configureEasy(t *testing.T) {
}, myStruct.(*EnvStruct))

}

func TestChangeLogsParams(t *testing.T) {
ChangeLogLevel(logrus.DebugLevel)
ChangeLogFormatter(&logrus.JSONFormatter{})
}

0 comments on commit eb46090

Please sign in to comment.