diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-12 22:34:26 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-12 22:34:26 +0200 |
commit | 660fcf23bb4612b0ab2c44538896fc5553c588b5 (patch) | |
tree | 3678ca06d1539350f9b3bbe043b8a20c079cae22 | |
parent | 0471704cccb6a6ce950d68dbc5debb9be7db2286 (diff) | |
download | refcat-660fcf23bb4612b0ab2c44538896fc5553c588b5.tar.gz refcat-660fcf23bb4612b0ab2c44538896fc5553c588b5.zip |
add test case
-rw-r--r-- | skate/url_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) |