From 245db6bb42eff602f710e2da7d49c340cc889f9e Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 12 May 2021 21:12:47 +0200 Subject: add test case --- skate/url_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'skate') diff --git a/skate/url_test.go b/skate/url_test.go index 76992c1..8dddb09 100644 --- a/skate/url_test.go +++ b/skate/url_test.go @@ -96,6 +96,8 @@ func TestSanitizeURL(t *testing.T) { `http://ailab.ist.psu.edu/bcpred/SVMTriP`}, {`http://aim.bmj.com/content/31/1/23.full.pdf+htmlAcessoem:15Dez`, `http://aim.bmj.com/content/31/1/23.full.pdf+html`}, + {`http://ainfo.cnptia.embrapa.br/digital/bitstream/CNPAT-2010/8608/1/Ci-017.pdfAcessed06`, + `http://ainfo.cnptia.embrapa.br/digital/bitstream/CNPAT-2010/8608/1/Ci-017.pdf`}, } for _, c := range cases { out := SanitizeURL(c.in) -- cgit v1.2.3