diff --git a/apps/maple-agent/crates/maple-agent/src/agent/shell_tests.rs b/apps/maple-agent/crates/maple-agent/src/agent/shell_tests.rs index afa033466..24e008168 100644 --- a/apps/maple-agent/crates/maple-agent/src/agent/shell_tests.rs +++ b/apps/maple-agent/crates/maple-agent/src/agent/shell_tests.rs @@ -107,7 +107,10 @@ async fn quiet_shell_reports_effective_folder_deadline_and_idle_time_until_stop( assert_eq!(tool.status.as_deref(), Some("running")); assert_eq!(tool.output.as_ref().unwrap()["text"], "fixture-output"); let progress = &tool.output.as_ref().unwrap()["structuredContent"]["shellExecution"]; - assert_eq!(progress["cwd"], json!(worktree.path())); + assert_eq!( + progress["cwd"], + json!(worktree.path().canonicalize().unwrap()) + ); assert_eq!(progress["timeoutSeconds"], 1800.0); assert!(progress["outputIdleSeconds"].as_u64().unwrap() >= 4); assert!(!progress.to_string().contains("fixture-private-command"));