13 lines
196 B
Go
13 lines
196 B
Go
package utils
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestRandomString(t *testing.T) {
|
|
_, err := RandomString()
|
|
if err != nil {
|
|
t.Fatalf("RandomString: failed to test due to error %s", err.Error())
|
|
}
|
|
}
|