mirror of
https://github.com/openai/codex.git
synced 2026-11-10 21:00:47 +00:00
deliberate cfg(test) windows clippy violation to verify Bazel catches it
This commit is contained in:
@@ -301,7 +301,7 @@ mod tests {
|
||||
};
|
||||
let temp_dir = tempdir().expect("base dir");
|
||||
let abs_path_buf = {
|
||||
let _guard = AbsolutePathBufGuard::new(temp_dir.path());
|
||||
let guard = AbsolutePathBufGuard::new(temp_dir.path());
|
||||
let input =
|
||||
serde_json::to_string(r#"~\code"#).expect("string should serialize as JSON");
|
||||
serde_json::from_str::<AbsolutePathBuf>(&input).expect("is valid abs path")
|
||||
|
||||
Reference in New Issue
Block a user