Skip to content

Commit ab1e31f

Browse files
committed
Remove unnecessary test
1 parent 2d6cc36 commit ab1e31f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/version_info.rs

-10
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,3 @@ pub fn version() -> String {
66
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
77
VERSION.to_string()
88
}
9-
10-
#[cfg(test)]
11-
mod tests {
12-
use super::*;
13-
14-
#[test]
15-
fn test_semantic_version_pattern() {
16-
assert!(version().matches(r"^\d+\.\d+\.\d+$").count() == 1);
17-
}
18-
}

0 commit comments

Comments
 (0)