Skip test which depends on os version

This commit is contained in:
Caelan Sayler
2023-12-22 12:18:26 +00:00
parent 81a0ba709d
commit 5f8abcbf02
2 changed files with 1 additions and 5 deletions

View File

@@ -10,11 +10,6 @@ jobs:
with:
fetch-depth: 0
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:

View File

@@ -241,6 +241,7 @@ pub fn is_os_version_or_greater(version: &str) -> Result<bool> {
}
#[test]
#[ignore]
pub fn test_os_returns_true_for_everything_on_windows_11_and_below() {
assert!(is_os_version_or_greater("6").unwrap());
assert!(is_os_version_or_greater("7").unwrap());