mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
[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:
committed by
GitHub
Unverified
parent
af568afdd5
commit
bb95ec3ec6
@@ -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())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user