Commit Graph

5 Commits (8fa4fc14e6d864416117fd370be4c2742e5191c5)

Author SHA1 Message Date
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