mirror of
https://github.com/openai/codex.git
synced 2026-11-03 08:22:30 +00: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:
1 parent
af568afdd5
commit
bb95ec3ec6
1 file changed
+1
-1
@@ -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