Skip to content

Commit d2e7190

Browse files
emmertexclaude
andcommitted
MCP test: build the nested folder one component at a time (Windows separators)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4d4c747 commit d2e7190

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎crates/mcp/src/headless.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ mod tests {
254254
fn folder_discovery_matches_engine_extensions() {
255255
let dir = std::env::temp_dir().join(format!("lc-mcp-discovery-{}", std::process::id()));
256256
let _ = std::fs::remove_dir_all(&dir);
257-
let nested = dir.join("trip/day2");
257+
// (one component at a time: `join("trip/day2")` keeps the `/` on Windows, where the scan reports `\`)
258+
let nested = dir.join("trip").join("day2");
258259
std::fs::create_dir_all(&nested).unwrap();
259260
let mut expected = Vec::new();
260261
for ext in lcc_engine::import::EXTENSIONS {

0 commit comments

Comments
 (0)