Add helper

This commit is contained in:
178inaba 2017-04-16 02:00:30 +09:00
parent 62318331a3
commit e62f1adaae
3 changed files with 49 additions and 2 deletions

13
helper_test.go Normal file
View file

@ -0,0 +1,13 @@
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)
}
}