mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
bcc1caa920
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" />
18 lines
377 B
Rust
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"
|
|
);
|
|
}
|