diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-14 01:19:01 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-14 01:19:01 +0200 |
commit | ef1f3ce02b8e4973e83cf43dd9eac1256c0107a1 (patch) | |
tree | 6ef7f3e9081b43612e78ee4ec3e8a110d3d42fa7 /skate | |
parent | 9faa41e6399ac2ab24b6a10088b1ec0157665959 (diff) | |
download | refcat-ef1f3ce02b8e4973e83cf43dd9eac1256c0107a1.tar.gz refcat-ef1f3ce02b8e4973e83cf43dd9eac1256c0107a1.zip |
add test case
Diffstat (limited to 'skate')
-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 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) |