mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
codex: fix Windows parsed read path tests (#29801)
This commit is contained in:
@@ -381,7 +381,7 @@ mod tests {
|
||||
vec![ParsedCommand::Read {
|
||||
cmd: "cat foo.txt".to_string(),
|
||||
name: "foo.txt".to_string(),
|
||||
path: PathBuf::from("foo/foo.txt").into(),
|
||||
path: PathBuf::from("foo").join("foo.txt").into(),
|
||||
}],
|
||||
);
|
||||
}
|
||||
@@ -393,7 +393,7 @@ mod tests {
|
||||
vec![ParsedCommand::Read {
|
||||
cmd: "cat foo.txt".to_string(),
|
||||
name: "foo.txt".to_string(),
|
||||
path: PathBuf::from("-weird/foo.txt").into(),
|
||||
path: PathBuf::from("-weird").join("foo.txt").into(),
|
||||
}],
|
||||
);
|
||||
}
|
||||
@@ -405,7 +405,7 @@ mod tests {
|
||||
vec![ParsedCommand::Read {
|
||||
cmd: "cat foo.txt".to_string(),
|
||||
name: "foo.txt".to_string(),
|
||||
path: PathBuf::from("dir2/foo.txt").into(),
|
||||
path: PathBuf::from("dir2").join("foo.txt").into(),
|
||||
}],
|
||||
);
|
||||
}
|
||||
@@ -428,7 +428,7 @@ mod tests {
|
||||
vec![ParsedCommand::Read {
|
||||
cmd: "cat foo.txt".to_string(),
|
||||
name: "foo.txt".to_string(),
|
||||
path: PathBuf::from("foo/foo.txt").into(),
|
||||
path: PathBuf::from("foo").join("foo.txt").into(),
|
||||
}],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user