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() }