opentofu/helper/hashcode/hashcode_test.go
2014-08-20 22:09:40 -07:00

17 lines
234 B
Go

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)
}
}
}