Skip to content

Commit

Permalink
test: fix TestVK_CaptchaForce
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Aug 4, 2020
1 parent 81e0534 commit ee1a4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api_test.go
Expand Up @@ -301,7 +301,7 @@ func TestVK_CaptchaForce(t *testing.T) {

_, err := vkUser.CaptchaForce(api.Params{})

if errors.Is(err, api.ErrCaptcha) {
if !errors.Is(err, api.ErrCaptcha) {
t.Errorf("VK.CaptchaForce() err=%v, want 14", err)
}
}
Expand Down

0 comments on commit ee1a4a8

Please sign in to comment.