You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/helper/hashcode/hashcode_test.go

17 lines
234 B

package hashcode
import (
"testing"
)
func TestString(t *testing.T) {
v := "hello, world"
expected := String(v)
for i := 0; i < 100; i++ {
actual := String(v)
if actual != expected {
t.Fatalf("bad: %#v", actual)
}
}
}