test_utils_git_check_for_updates not when github and mac and bsd

This commit is contained in:
veeso 2021-06-26 14:39:09 +02:00
parent 97a62def11
commit 398f518b2f

View file

@ -78,7 +78,15 @@ mod tests {
use super::*;
#[test]
#[cfg(not(all(target_os = "macos", feature = "github-actions")))]
#[cfg(not(all(
any(
target_os = "macos",
target_os = "freebsd",
target_os = "netbsd",
target_os = "netbsd"
),
feature = "github-actions"
)))]
fn test_utils_git_check_for_updates() {
assert!(check_for_updates("100.0.0").ok().unwrap().is_none());
assert!(check_for_updates("0.0.1").ok().unwrap().is_some());