From ebc45db1943806f684e9d357fa863c64152d178e Mon Sep 17 00:00:00 2001 From: Friel Date: Sat, 28 Mar 2026 11:27:29 -0700 Subject: [PATCH] test(features): annotate auth literals --- codex-rs/features/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs index f3c081c188..065e43dc39 100644 --- a/codex-rs/features/src/lib.rs +++ b/codex-rs/features/src/lib.rs @@ -1012,10 +1012,10 @@ mod inbox_feature_tests { #[test] fn apps_require_feature_flag_and_chatgpt_auth() { let mut features = Features::with_defaults(); - assert!(!features.apps_enabled_for_auth(None)); + assert!(!features.apps_enabled_for_auth(/*auth*/ None)); features.enable(Feature::Apps); - assert!(!features.apps_enabled_for_auth(None)); + assert!(!features.apps_enabled_for_auth(/*auth*/ None)); let api_key_auth = CodexAuth::from_api_key("test-api-key"); assert!(!features.apps_enabled_for_auth(Some(&api_key_auth)));