Skip to content

Commit e6fe9a3

Browse files
test(mcp): canonicalize registry path assertions
1 parent 0153869 commit e6fe9a3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/mcp_suite/mcp_handler_test.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,11 @@ async fn project_registry_tools_prefer_injected_registry_over_process_default()
11561156
assert_eq!(context_payload["project"]["project_id"], "proj_alpha");
11571157
assert_eq!(
11581158
context_payload["registry_path"],
1159-
client_registry_path.display().to_string()
1159+
client_registry_path
1160+
.canonicalize()
1161+
.unwrap()
1162+
.display()
1163+
.to_string()
11601164
);
11611165
}
11621166

0 commit comments

Comments
 (0)