diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-02 02:45:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-02 02:45:20 +0300 |
| commit | cc88b3b8e5bb9f7d9f23ed6ae85a52fd7b5b9ed6 (patch) | |
| tree | 4d37c760099070f1a1488b61c7b7271875aafef8 /vendor/portable-pty/src | |
| parent | 18e69891dca486d669a584facd80644bb51f54a2 (diff) | |
feat: add stable client endpoint compatibility (#3509)
* feat: add stable client endpoint compatibility
* fix: keep portable-pty patch checks composable
* ci: run maintenance checks in pull requests
* fix: reject endpoint errors from terminal clients
* feat: keep compatible servers running across updates
Diffstat (limited to 'vendor/portable-pty/src')
| -rw-r--r-- | vendor/portable-pty/src/cmdbuilder.rs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/vendor/portable-pty/src/cmdbuilder.rs b/vendor/portable-pty/src/cmdbuilder.rs index a9395f41..e4a9edc7 100644 --- a/vendor/portable-pty/src/cmdbuilder.rs +++ b/vendor/portable-pty/src/cmdbuilder.rs @@ -885,17 +885,6 @@ mod tests { #[cfg(windows)] #[test] - fn test_env_case_insensitive_override() { - let mut cmd = CommandBuilder::new("dummy"); - cmd.env("Cargo_Pkg_Authors", "Not Wez"); - assert!(cmd.get_env("cargo_pkg_authors") == Some(OsStr::new("Not Wez"))); - - cmd.env_remove("cARGO_pKG_aUTHORS"); - assert!(cmd.get_env("CARGO_PKG_AUTHORS").is_none()); - } - - #[cfg(windows)] - #[test] fn raw_arg_appends_unescaped_windows_command_tail() { use std::os::windows::ffi::OsStringExt; @@ -919,6 +908,17 @@ mod tests { #[cfg(windows)] #[test] + fn test_env_case_insensitive_override() { + let mut cmd = CommandBuilder::new("dummy"); + cmd.env("Cargo_Pkg_Authors", "Not Wez"); + assert!(cmd.get_env("cargo_pkg_authors") == Some(OsStr::new("Not Wez"))); + + cmd.env_remove("cARGO_pKG_aUTHORS"); + assert!(cmd.get_env("CARGO_PKG_AUTHORS").is_none()); + } + + #[cfg(windows)] + #[test] fn windows_environment_rejects_malformed_entries() { use std::os::windows::ffi::{OsStrExt, OsStringExt}; use winreg::enums::RegType; |
