go-mastodon/helper_test.go

14 lines
160 B
Go
Raw Normal View History

2017-04-15 19:00:30 +02:00
package mastodon
import (
"testing"
)
func TestString(t *testing.T) {
s := "test"
sp := String(s)
if *sp != s {
t.Fatalf("want %q but %q", s, *sp)
}
}