mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Add fix from #10988
This commit is contained in:
@@ -138,6 +138,9 @@ Run `just write-config-schema` to overwrite with your changes.\n\n{diff}"
|
||||
write_config_schema(&tmp_path).expect("write config schema to temp path");
|
||||
let tmp_contents =
|
||||
std::fs::read_to_string(&tmp_path).expect("read back config schema from temp path");
|
||||
#[cfg(windows)]
|
||||
let fixture = fixture.replace("\r\n", "\n");
|
||||
|
||||
assert_eq!(
|
||||
fixture, tmp_contents,
|
||||
"fixture should match exactly with generated schema"
|
||||
|
||||
Reference in New Issue
Block a user