aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc_url.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc_url.rs b/tests/misc_url.rs
index 5e94366..027f9bf 100644
--- a/tests/misc_url.rs
+++ b/tests/misc_url.rs
@@ -117,7 +117,7 @@ fn url() {
"should support an emoji"
);
- let mut ascii: Vec<char> = vec![];
+ let mut ascii = Vec::with_capacity(129);
let mut code = 0;
while code < 128 {