diff --git a/common/uuid/uuid_test.go b/common/uuid/uuid_test.go new file mode 100644 index 000000000..8a853f1be --- /dev/null +++ b/common/uuid/uuid_test.go @@ -0,0 +1,12 @@ +package uuid + +import ( + "testing" +) + +func TestTimeOrderedUuid(t *testing.T) { + uuid := TimeOrderedUUID() + if len(uuid) != 36 { + t.Fatalf("bad: %s", uuid) + } +}