nit: disable on windows (#13127)

This commit is contained in:
jif-oai
2026-02-28 14:55:16 +01:00
committed by GitHub
parent eec3b1e235
commit 84b662e74f
2 changed files with 3 additions and 0 deletions

View File

@@ -472,6 +472,7 @@ writable_roots = ["./sandbox-root"]
assert_eq!(session_flags_layer_count(&config), before_layers + 1);
}
#[cfg_attr(windows, ignore)]
#[tokio::test]
async fn apply_role_skills_config_disables_skill_for_spawned_agent() {
let (home, mut config) = test_config_with_cli_overrides(Vec::new()).await;

View File

@@ -415,6 +415,7 @@ mod tests {
assert_eq!(first, second);
}
#[cfg_attr(windows, ignore)]
#[test]
fn disabled_paths_from_stack_allows_session_flags_to_override_user_layer() {
let tempdir = tempfile::tempdir().expect("tempdir");
@@ -453,6 +454,7 @@ enabled = true
assert_eq!(disabled_paths_from_stack(&stack), HashSet::new());
}
#[cfg_attr(windows, ignore)]
#[test]
fn disabled_paths_from_stack_allows_session_flags_to_disable_user_enabled_skill() {
let tempdir = tempfile::tempdir().expect("tempdir");