[codex] Normalize Windows path in MCP startup snapshot test (#16204)

## Summary
A Windows-only snapshot assertion in the app-server MCP startup warning
test compared the raw rendered path, so CI saw `C:\tmp\project` instead
of the normalized `/tmp/project` snapshot fixture.

## Fix
Route that snapshot assertion through the existing
`normalize_snapshot_paths(...)` helper so the test remains
platform-stable.
This commit is contained in:
Eric Traut
2026-03-29 17:54:17 -06:00
committed by GitHub
parent af568afdd5
commit bb95ec3ec6

View File

@@ -11760,7 +11760,7 @@ async fn app_server_mcp_startup_failure_renders_warning_history() {
assert_snapshot!(
"app_server_mcp_startup_failure_renders_warning_history",
term.backend().vt100().screen().contents()
normalize_snapshot_paths(term.backend().vt100().screen().contents())
);
}