Merge pull request #36 from y0za/fix-test-json-again

Fix test json property name again
pull/37/head
mattn 2017-04-21 00:21:52 +09:00 committed by GitHub
commit cc593fd21e
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func TestCmdToot(t *testing.T) {
switch r.URL.Path { switch r.URL.Path {
case "/api/v1/statuses": case "/api/v1/statuses":
toot = r.FormValue("status") toot = r.FormValue("status")
fmt.Fprintln(w, `{"ID": 2345}`) fmt.Fprintln(w, `{"id": 2345}`)
return return
} }
http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound) http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound)