178inaba
22f47735b4
Add processing when pagination is nil
2017-05-06 23:34:42 +09:00
178inaba
134128cb56
Fix to not return *Pagination
2017-05-06 23:03:19 +09:00
178inaba
5fad354d1a
Add test
2017-05-04 23:35:05 +09:00
178inaba
d32c4d4ed1
Add Pagination
2017-05-04 21:56:54 +09:00
y0za
e9f28b9c6e
Fix test json property name
2017-04-20 19:37:24 +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
318df76454
add test for linkHeader
2017-04-19 17:48:53 +09:00
178inaba
a752a1bd6b
Add accounts test
2017-04-17 23:39:47 +09:00
178inaba
39239ae270
Fix accounts test
2017-04-17 23:21:52 +09:00
178inaba
e1bc4c143d
Fix test error message
2017-04-17 13:03:31 +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
Yasuhiro Matsumoto
9f84e175f1
separate test file
2017-04-16 20:05:42 +09:00
178inaba
9dee3fc07f
Fix POST to http.MethodPost
2017-04-14 23:59:11 +09:00
Yasuhiro Matsumoto
d14072e12b
go vet
2017-04-14 19:20:23 +09:00
Yasuhiro Matsumoto
0eccbb0514
add test
2017-04-14 18:53:14 +09:00
Yasuhiro Matsumoto
dc7a04a5b5
add test
2017-04-14 18:19:38 +09:00
Yasuhiro Matsumoto
f765667837
add test
2017-04-14 17:47:15 +09:00
Yasuhiro Matsumoto
bfa6468c73
add test
2017-04-14 17:37:59 +09:00
Yasuhiro Matsumoto
d1e98eb548
add test
2017-04-14 17:30:27 +09:00
Yasuhiro Matsumoto
c3ca0792f5
add test
2017-04-14 17:26:22 +09:00
Yasuhiro Matsumoto
d168c8b4a6
tests for the coverages
2017-04-14 17:21:31 +09:00
Yasuhiro Matsumoto
1d9ff623fc
add test
2017-04-14 17:10:20 +09:00