yq/pkg/yqlib/lib_test.go

11 lines
178 B
Go

package yqlib
import "testing"
func TestGetLogger(t *testing.T) {
l := GetLogger()
if l != log {
t.Fatal("GetLogger should return the yq logger instance, not a copy")
}
}