awl/pkg/util/logger_test.go
Sam Therapy e782c9cb23
All checks were successful
continuous-integration/drone/push Build is passing
feat: change import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:18:58 +01:00

18 lines
306 B
Go

// SPDX-License-Identifier: BSD-3-Clause
package util_test
import (
"testing"
"dns.froth.zone/awl/pkg/logawl"
"dns.froth.zone/awl/pkg/util"
"gotest.tools/v3/assert"
)
func TestInitLogger(t *testing.T) {
t.Parallel()
logger := util.InitLogger(0)
assert.Equal(t, logger.Level, logawl.Level(0))
}