summaryrefslogtreecommitdiff
path: root/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch')
-rw-r--r--dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch b/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
new file mode 100644
index 000000000000..fcd980a1423b
--- /dev/null
+++ b/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
@@ -0,0 +1,11 @@
+--- a/git-cliff-core/src/command.rs 2025-07-28 22:01:16.272316366 +0200
++++ b/git-cliff-core/src/command.rs 2025-07-28 22:01:42.532450325 +0200
+@@ -72,7 +72,7 @@
+ run("rev", Some(env!("CARGO_PKG_NAME").to_string()), vec![])?.trim()
+ );
+ assert_eq!("testing", run("echo 'testing'", None, vec![])?.trim());
+- assert!(run("some_command", None, vec![]).is_err());
++ assert!(run("false", None, vec![]).is_err());
+ Ok(())
+ }
+ }