obs-access-signer/util_test.go
Nugraha 44173e65f5
All checks were successful
continuous-integration/drone/push Build is passing
all: initial files
2022-12-05 03:48:53 +07:00

13 lines
228 B
Go

package main
import "testing"
func TestUnsafeByteSliceToString(t *testing.T) {
exp := "foo bar"
act := unsafeByteSliceToString([]byte(exp))
if exp != act { // cmp str
t.Fail()
}
println(&exp, &act)
println(exp, act)
}