Add tests, edit error messages

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-08-03 00:00:29 -04:00
parent c3b2ab00c2
commit 8259f16f19
11 changed files with 726 additions and 22 deletions
+1 -1
View File
@@ -753,7 +753,7 @@ func TestPostService_MoreNil(t *testing.T) {
defer teardown()
_, err := client.Comment.LoadMoreReplies(ctx, nil)
assert.EqualError(t, err, "comment: must not be nil")
assert.EqualError(t, err, "comment: cannot be nil")
parentComment := &Comment{
Replies: Replies{