From ef1f3ce02b8e4973e83cf43dd9eac1256c0107a1 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 14 May 2021 01:19:01 +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 e1e9419..5e36cae 100644 --- a/skate/url_test.go +++ b/skate/url_test.go @@ -129,6 +129,8 @@ func TestSanitizeURL(t *testing.T) { `http://dx.doi.org/10.15210/rmr.v8i14.7485`}, {`Shttp://hdl.handle.net/1765/1163`, `http://hdl.handle.net/1765/1163`}, + {`cdec.water.ca.gov/misc/DailyPrecip.html`, + `http://cdec.water.ca.gov/misc/DailyPrecip.html`}, } for _, c := range cases { out := SanitizeURL(c.in) -- cgit v1.2.3