From 3e40d90b72a9de0c3bf23ef7529404b201cd37d1 Mon Sep 17 00:00:00 2001 From: Jedrzej Stuczynski Date: Tue, 28 Jan 2020 12:26:46 +0000 Subject: [PATCH] Restored commented tests --- common/version-checker/src/lib.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/common/version-checker/src/lib.rs b/common/version-checker/src/lib.rs index 9cca937c37..eda9391205 100644 --- a/common/version-checker/src/lib.rs +++ b/common/version-checker/src/lib.rs @@ -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")); + } }