go-log/logger_test.go

15 lines
214 B
Go
Raw Normal View History

2021-02-05 01:19:59 +00:00
package flog
import (
"testing"
)
func TestInternalLoggerIsLogger(t *testing.T) {
2021-02-05 02:25:22 +00:00
var x Logger = &internalLogger{} // THIS IS WHAT ACTUALLY MATTERS.
2021-02-05 01:19:59 +00:00
if nil == x {
t.Error("This should never happen.")
}
}