Add tests, edit error messages
Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
+1
-1
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user