Add helper
This commit is contained in:
parent
62318331a3
commit
e62f1adaae
3 changed files with 49 additions and 2 deletions
13
helper_test.go
Normal file
13
helper_test.go
Normal 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)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue