Fix test
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>pull/1/head
parent
cc3cbd0bd2
commit
47443187d5
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue