diff --git a/crates/agent2/src/tools/find_path_tool.rs b/crates/agent2/src/tools/find_path_tool.rs index edb1bfa6a6..384bd56e77 100644 --- a/crates/agent2/src/tools/find_path_tool.rs +++ b/crates/agent2/src/tools/find_path_tool.rs @@ -216,8 +216,8 @@ mod test { assert_eq!( matches, &[ - PathBuf::from("/root/apple/banana/carrot"), - PathBuf::from("/root/apple/bandana/carbonara") + PathBuf::from(path!("/root/apple/banana/carrot")), + PathBuf::from(path!("/root/apple/bandana/carbonara")) ] ); @@ -228,8 +228,8 @@ mod test { assert_eq!( matches, &[ - PathBuf::from("/root/apple/banana/carrot"), - PathBuf::from("/root/apple/bandana/carbonara") + PathBuf::from(path!("/root/apple/banana/carrot")), + PathBuf::from(path!("/root/apple/bandana/carbonara")) ] ); }