Skip to content

Commit cb9d5d2

Browse files
author
Olivier Mansour
committed
target specific tests to unix
1 parent 3f85104 commit cb9d5d2

File tree

1 file changed

+5
-2
lines changed
  • crates/chat-cli/src/cli/chat/tools/execute

1 file changed

+5
-2
lines changed

crates/chat-cli/src/cli/chat/tools/execute/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ mod tests {
437437
}
438438

439439
#[test]
440-
<<<<<<< HEAD
441440
fn test_eval_perm() {
442441
let tool_name = if cfg!(windows) { "execute_cmd" } else { "execute_bash" };
443442
let agent = Agent {
@@ -524,7 +523,10 @@ mod tests {
524523
// Should contain both the existing value and our metadata
525524
assert!(user_agent_value.contains("ExistingValue"));
526525
assert!(user_agent_value.contains(USER_AGENT_APP_NAME));
527-
=======
526+
}
527+
528+
#[test]
529+
#[cfg(unix)]
528530
fn test_eval_perm_allowed_tools_priority() {
529531
use crate::cli::agent::{Agent, PermissionEvalResult};
530532

@@ -561,6 +563,7 @@ mod tests {
561563
}
562564

563565
#[test]
566+
#[cfg(unix)]
564567
fn test_eval_perm_fine_grained_control() {
565568
use crate::cli::agent::{Agent, PermissionEvalResult};
566569

0 commit comments

Comments
 (0)