From 660fcf23bb4612b0ab2c44538896fc5553c588b5 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 12 May 2021 22:34:26 +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 42ec45b..073509b 100644 --- a/skate/url_test.go +++ b/skate/url_test.go @@ -104,6 +104,8 @@ func TestSanitizeURL(t *testing.T) { `http://www.epcglobalinc.org/standards_technology/Secure/v1.0/UHF-class1.pdf`}, {`CRAN.R-project.org/package=vegan`, `http://CRAN.R-project.org/package=vegan`}, + {`CRD42014009228.www.crd.york.ac.uk/PROSPERO/display_record.asp?ID=CRD42014009228`, + `http://www.crd.york.ac.uk/PROSPERO/display_record.asp?ID=CRD42014009228`}, } for _, c := range cases { out := SanitizeURL(c.in) -- cgit v1.2.3