Fix test
continuous-integration/drone/pr Build is passing Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
pull/1/head
jolheiser 2021-08-08 23:29:31 -05:00
parent cc3cbd0bd2
commit 47443187d5
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ func TestShare(t *testing.T) {
t.FailNow() t.FailNow()
} }
if !strings.EqualFold(link, resp) { if !strings.EqualFold(string(link), resp) {
t.Logf("Expected `%s` but got `%s`\n", resp, link) t.Logf("Expected `%s` but got `%s`\n", resp, link)
t.FailNow() t.FailNow()
} }
@ -34,7 +34,7 @@ func TestShare(t *testing.T) {
t.FailNow() t.FailNow()
} }
if !strings.EqualFold(link2, "test-") { if !strings.EqualFold(string(link2), "test-") {
t.Logf("Expected `test-` but got `%s`\n", link2) t.Logf("Expected `test-` but got `%s`\n", link2)
t.FailNow() t.FailNow()
} }