mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-12 08:42:29 +08:00
test: remove t.Log()
This commit is contained in:
@@ -103,7 +103,7 @@ func TestEncodeUrl(t *testing.T) {
|
||||
urlAddr := "http://www.lancet.com?a=1&b=[2]"
|
||||
encodedUrl, err := EncodeUrl(urlAddr)
|
||||
if err != nil {
|
||||
t.Log(err)
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
expected := "http://www.lancet.com?a=1&b=%5B2%5D"
|
||||
|
||||
Reference in New Issue
Block a user