Skip to content

Commit e04ebec

Browse files
committed
Fix test assertion in workspace_mcp_config_path_fallback test
- Update assertion to check for .kiro-cli/mcp.json instead of .amazonq/mcp.json - Matches actual function behavior that returns .kiro/mcp.json or .kiro-cli/mcp.json (legacy)
1 parent 2e05f4b commit e04ebec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chat-cli/src/cli/chat/tool_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2221,8 +2221,8 @@ mod tests {
22212221
let path = workspace_mcp_config_path(&os)?;
22222222
let path_str = path.to_string_lossy();
22232223

2224-
// Should end with either .kiro/mcp.json or .amazonq/mcp.json
2225-
assert!(path_str.ends_with(".kiro/mcp.json") || path_str.ends_with(".amazonq/mcp.json"));
2224+
// Should end with either .kiro/mcp.json or .kiro-cli/mcp.json (legacy)
2225+
assert!(path_str.ends_with(".kiro/mcp.json") || path_str.ends_with(".kiro-cli/mcp.json"));
22262226

22272227
Ok(())
22282228
}

0 commit comments

Comments
 (0)