forked from pothtonswer/discordmuffin
Adjust error code returned from UserAvatar test
This commit is contained in:
parent
5398a481cc
commit
de235a04f0
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func TestUserAvatar(t *testing.T) {
|
|||
|
||||
a, err := dg.UserAvatar("@me")
|
||||
if err != nil {
|
||||
if err.Error() == `HTTP 404 NOT FOUND, {"message": ""}` {
|
||||
if err.Error() == `HTTP 404 NOT FOUND, {"message": "404: Not Found"}` {
|
||||
t.Skip("Skipped, @me doesn't have an Avatar")
|
||||
}
|
||||
t.Errorf(err.Error())
|
||||
|
|
Loading…
Reference in a new issue