Repository navigation
Commit 364dd6a
committed
test(mcp): compare the DeusData#2134 root with forward slashes on Windows
tool_index_repository_reuses_existing_project_for_root_issue2134 counts
how often the canonical repo root occurs in list_projects. On Windows,
cbm_canonical_path returns "C:\Users\...", while the stored root_path is
"C:/Users/...", so the count was 0 and the test failed on the CLANG64
leg (test_mcp.c:8448: owners == 0, expected 1).
Normalize the expected root with cbm_normalize_path_sep, a no-op on
POSIX, before counting.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 1f0daaa commit 364dd6a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8626 | 8626 | | |
8627 | 8627 | | |
8628 | 8628 | | |
| 8629 | + | |
| 8630 | + | |
8629 | 8631 | | |
8630 | 8632 | | |
8631 | 8633 | | |
| |||
0 commit comments