Restored commented tests

This commit is contained in:
Jedrzej Stuczynski
2020-01-28 12:26:46 +00:00
parent 8731934f46
commit 3e40d90b72
+9 -9
View File
@@ -57,13 +57,13 @@ mod tests {
assert!(is_minor_version_compatible("0.4.0-rc.1", "0.4.0-rc.1"));
}
// #[test]
// fn returns_false_on_foo_version() {
// assert!(!is_minor_version_compatible("foo", "0.3.2"));
// }
//
// #[test]
// fn returns_false_on_bar_version() {
// assert!(!is_minor_version_compatible("0.3.2", "bar"));
// }
#[test]
fn returns_false_on_foo_version() {
assert!(!is_minor_version_compatible("foo", "0.3.2"));
}
#[test]
fn returns_false_on_bar_version() {
assert!(!is_minor_version_compatible("0.3.2", "bar"));
}
}