Files
codex/codex-rs/chatgpt/src/workspace_settings_tests.rs
T
Alex Zamoshchin bcc1caa920 respect workspace option for disabling plugins (#18907)
Respects the workspace setting for plugins in Codex

Plugins menu disappears
Plugins do not load
Plugins do not load in composer

no plugins loaded
<img width="809" height="226" alt="Screenshot 2026-04-23 at 3 20 45 PM"
src="https://github.com/user-attachments/assets/3a4dba8e-69c3-4046-a77e-f13ab77f84b4"
/>


no plugins in menu
<img width="293" height="204" alt="Screenshot 2026-04-23 at 3 20 35 PM"
src="https://github.com/user-attachments/assets/5cb9bf52-ad72-488f-b90c-5eb457da09a3"
/>
2026-04-24 17:38:45 +00:00

18 lines
377 B
Rust

use super::*;
#[test]
fn encode_path_segment_leaves_unreserved_ascii_unchanged() {
assert_eq!(
encode_path_segment("account-123_ABC.~"),
"account-123_ABC.~"
);
}
#[test]
fn encode_path_segment_escapes_path_separators_and_spaces() {
assert_eq!(
encode_path_segment("account/123 with space"),
"account%2F123%20with%20space"
);
}