(t *testing.T)
| 5 | ) |
| 6 | |
| 7 | func TestGenerateRandomID(t *testing.T) { |
| 8 | id := GenerateRandomID() |
| 9 | |
| 10 | if len(id) != fullLen { |
| 11 | t.Fatalf("Id returned is incorrect: %s", id) |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | func TestTruncateID(t *testing.T) { |
| 16 | tests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…