Commit Graph

6 Commits (48920165ef264ed2fcdd68b796c7c5a6811c3ba2)

Author SHA1 Message Date
Yasuhiro Matsumoto a98b28c817 add test 2017-11-30 14:55:18 +09:00
178inaba c1bb3c84bc Add fail test cover to TestRegisterApp 2017-04-21 02:29:22 +09:00
TSUYUSATO Kitsune b105e8554c Remove 'go' from calling 'cancel'
https://github.com/mattn/go-mastodon/pull/28#discussion_r112162740
2017-04-19 19:12:09 +09:00
TSUYUSATO Kitsune fb53d41dd9 Correct context uses
`doAPI`'s `context` does not work due to `WithContext` immutability.
`Authenticate` and `RegisterApp` does not use `context` although they
needs `context`, so their `context` does not work also. This commit fixes
them and add test cases.
2017-04-19 18:53:55 +09:00
Yasuhiro Matsumoto 5e84b57bf3 breaking compatibility changes. take context for first arguments. 2017-04-17 11:10:29 +09:00
Yasuhiro Matsumoto 3b4b2ce794 separate test files 2017-04-16 20:06:54 +09:00