Skip to content

Commit

Permalink
test without windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tknickman committed Oct 15, 2024
1 parent d238df2 commit 15133f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/turborepo-env/src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ mod tests {
clear_env_var(TURBO_PLATFORM_ENV_KEY);
}

#[cfg(not(target_os = "windows"))]
#[test]
fn test_disabled_true() {
set_env_var(TURBO_PLATFORM_ENV_DISABLED_KEY, "1");
Expand Down Expand Up @@ -175,6 +176,7 @@ mod tests {
clear_env_var(TURBO_PLATFORM_ENV_KEY);
}

#[cfg(not(target_os = "windows"))]
#[test]
fn test_diff_all_keys_present() {
set_env_var(TURBO_PLATFORM_ENV_KEY, "VAR1,VAR2");
Expand Down

0 comments on commit 15133f5

Please sign in to comment.