mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
Fix Bazel test configuration for platform-specific data (#35067)
## What changed - Include CLI snapshot files in Bazel test runfiles. - Restrict the Windows sandbox binary test target to Windows. - Label boolean and optional arguments in the affected CLI tests. GitOrigin-RevId: c248396c51d881c38856739d7d9b653dcde1823e
This commit is contained in:
1 parent
3947f0d0c3
commit
f47f28cd0d
4 files changed
+21
-10
No files matched your search
@@ -3066,9 +3066,10 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn delete_force_requires_uuid() {
|
||||
assert!(delete_action("123e4567-e89b-12d3-a456-426614174000", true).is_ok());
|
||||
assert!(delete_action("123e4567-e89b-12d3-a456-426614174000", /*force*/ true).is_ok());
|
||||
|
||||
let err = delete_action("my-thread", true).expect_err("name should require prompt");
|
||||
let err =
|
||||
delete_action("my-thread", /*force*/ true).expect_err("name should require prompt");
|
||||
assert_eq!(
|
||||
err.to_string(),
|
||||
"--force requires a session UUID; names must be confirmed interactively"
|
||||
|
||||
Reference in new issue
Block a user