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