trc/trc_test.go

16 lines
192 B
Go
Raw Normal View History

2022-10-26 10:50:30 +03:00
package trc_test
import (
"testing"
"git.bit5.ru/backend/trc"
)
func TestNewTraceId(t *testing.T) {
traceId := trc.NewTraceId()
if len(traceId) == 0 {
t.Error("Empty traceId.")
}
}