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

View file

@ -34,8 +34,6 @@ func TestAccountUpdate(t *testing.T) {
}
}
func String(v string) *string { return &v }
func TestGetBlocks(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, `[{"Username": "foo"}, {"Username": "bar"}]`)