From 47443187d56004f91cf15bdf1054e12d268aaf55 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sun, 8 Aug 2021 23:29:31 -0500 Subject: [PATCH] Fix test Signed-off-by: jolheiser --- playground_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playground_test.go b/playground_test.go index 4fe298e..00995be 100644 --- a/playground_test.go +++ b/playground_test.go @@ -23,7 +23,7 @@ func TestShare(t *testing.T) { t.FailNow() } - if !strings.EqualFold(link, resp) { + if !strings.EqualFold(string(link), resp) { t.Logf("Expected `%s` but got `%s`\n", resp, link) t.FailNow() } @@ -34,7 +34,7 @@ func TestShare(t *testing.T) { t.FailNow() } - if !strings.EqualFold(link2, "test-") { + if !strings.EqualFold(string(link2), "test-") { t.Logf("Expected `test-` but got `%s`\n", link2) t.FailNow() }