diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 16:46:56 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 16:46:56 -0700 |
commit | a7e33fedada38f4454483eebb506633afde6be5e (patch) | |
tree | 46ec580255d9f42c546b1263e1d4453dd3c25bb5 /src/uri.rs | |
parent | f6f64b75ee56dab0853be8af80ef146d011438f2 (diff) |
Add test vector to test Error::TooManyDigits
Diffstat (limited to 'src/uri.rs')
-rw-r--r-- | src/uri.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1604,6 +1604,7 @@ mod tests { ("http://[2001:db8:85a3:8d3:1319:8a2e:370::1]/", Error::TooManyAddressParts).into(), ("http://[2001:db8:85a3::8a2e:0:]/", Error::TruncatedHost).into(), ("http://[2001:db8:85a3::8a2e::]/", Error::TooManyDoubleColons).into(), + ("http://[20001:db8:85a3::1]/", Error::TooManyDigits).into(), ("http://[]/", Error::TooFewAddressParts).into(), ("http://[:]/", Error::TruncatedHost).into(), ("http://[v]/", Error::TruncatedHost).into(), |