aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uri.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uri.rs b/src/uri.rs
index 53abd52..cf1349a 100644
--- a/src/uri.rs
+++ b/src/uri.rs
@@ -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(),