16 lines
192 B
Go
16 lines
192 B
Go
|
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.")
|
||
|
}
|
||
|
}
|