Files
nixpkgs/pkgs/by-name/fi/fish/skip-sgr-tests.patch
r-vdp c5f167527b fish: 4.5.0 -> 4.6.0
https://github.com/fish-shell/fish-shell/releases/tag/4.6.0

Upstream refactored tests in this release, removing many hardcoded FHS
paths, so most substituteInPlace calls are no longer needed. The
highlight test now uses /usr/bin/env instead of /bin/cat.

Add the new resettable_style_attribute SGR test to skip-sgr-tests.patch
since it fails in the sandbox like the other SGR tests.
2026-03-28 10:46:19 +01:00

28 lines
649 B
Diff

diff --git a/src/terminal.rs b/src/terminal.rs
--- a/src/terminal.rs
+++ b/src/terminal.rs
@@ -803,6 +803,7 @@ mod tests {
SgrTerminalCommand::ExitAttributeMode,
};
+ #[ignore]
#[test]
fn sgr_combining() {
// No style, no content
@@ -838,6 +839,7 @@ mod tests {
assert_eq!(String::from_utf8_lossy(outp.contents()), "\u{1b}[30;40m");
}
+ #[ignore]
#[test]
fn sgr_max_length() {
// Cut at max length
@@ -892,6 +894,7 @@ mod tests {
);
}
+ #[ignore]
#[test]
fn resettable_style_attribute() {
type RS = crate::text_face::ResettableStyle<()>;