From 971abecece2d48cb12f17746804d1e163fc4347a Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 15 Feb 2017 23:05:35 +0000 Subject: [PATCH] Test response URL --- client_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client_test.go b/client_test.go index f238e48..9b7d2da 100644 --- a/client_test.go +++ b/client_test.go @@ -39,6 +39,8 @@ func TestClient_GetAvatarUrl(t *testing.T) { t.Fatalf("GetAvatarURL: Got error: %s", err.Error()) } else if response == "" { t.Fatal("GetAvatarURL: Got empty response") + } else if response != "mxc://matrix.org/iJaUjkshgdfsdkjfn" { + t.Fatalf("Unexpected response URL: %s", response) } }