mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
test_utils_git_check_for_updates not when github and mac and bsd
This commit is contained in:
@@ -78,7 +78,15 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[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() {
|
fn test_utils_git_check_for_updates() {
|
||||||
assert!(check_for_updates("100.0.0").ok().unwrap().is_none());
|
assert!(check_for_updates("100.0.0").ok().unwrap().is_none());
|
||||||
assert!(check_for_updates("0.0.1").ok().unwrap().is_some());
|
assert!(check_for_updates("0.0.1").ok().unwrap().is_some());
|
||||||
|
|||||||
Reference in New Issue
Block a user