Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

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

Eric Trautbb95ec3ec602
diff --git a/codex-rs/tui/src/chatwidget/tests.rs b/codex-rs/tui/src/chatwidget/tests.rs
index b4950dad79..ebb92909e8 100644
--- a/codex-rs/tui/src/chatwidget/tests.rs
+++ b/codex-rs/tui/src/chatwidget/tests.rs
@@ -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())
);
}