gentoo/dev-vcs/git-cliff/files/git-cliff-2.10.0-silence_run_os_command_test.patch
Armas Spann 0e89e7e1d6
dev-vcs/git-cliff: add 2.10.0
This update includes, in addition to the version bump, a slight change to the
LICENSE(s) due to updated dependencies. The patches were also reworked, with
indentation changed to spaces.

Signed-off-by: Armas Spann <zappel@simple-co.de>
Part-of: https://github.com/gentoo/gentoo/pull/43219
Closes: https://github.com/gentoo/gentoo/pull/43219
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-07-29 00:45:58 +02:00

12 lines
476 B
Diff

--- 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(())
}
}