Skip to content

Commit 0f86761

Browse files
committed
Fixup! spelling on tests
1 parent 52bdf03 commit 0f86761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/url.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ mod tests {
202202
}
203203

204204
#[test]
205-
fn test_version_regix() {
205+
fn test_version_regex() {
206206
let captures = VERSION_REGEX.captures("v0.1.0").unwrap();
207207
assert_eq!(captures.len(), 3);
208208
assert_eq!(captures.get(1).unwrap().as_str(), "v");
@@ -220,7 +220,7 @@ mod tests {
220220
}
221221

222222
#[test]
223-
fn test_simple_version_regix() {
223+
fn test_simple_version_regex() {
224224
let captures = VERSION_REGEX.captures("2.1.1").unwrap();
225225
assert_eq!(captures.len(), 3);
226226
assert_eq!(captures.get(1).unwrap().as_str(), "");

0 commit comments

Comments
 (0)