From 8cfa1dd3db490d9f277cf27aee89844128e6ba6c Mon Sep 17 00:00:00 2001 From: Eh2406 Date: Tue, 6 Nov 2018 20:47:06 -0500 Subject: [PATCH] remove the hard to read start of names --- tests/testsuite/support/resolver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuite/support/resolver.rs b/tests/testsuite/support/resolver.rs index 4c7ad3288ae..fd2a8d6f0ce 100644 --- a/tests/testsuite/support/resolver.rs +++ b/tests/testsuite/support/resolver.rs @@ -355,7 +355,7 @@ pub fn registry_strategy( max_versions: usize, shrinkage: usize, ) -> impl Strategy { - let name = string_regex("[A-Za-z_-][A-Za-z0-9_-]*(-sys)?").unwrap(); + let name = string_regex("[A-Za-z][A-Za-z0-9_-]*(-sys)?").unwrap(); let raw_version = [..max_versions; 3]; let version_from_raw = |v: &[usize; 3]| format!("{}.{}.{}", v[0], v[1], v[2]);