1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

uutests: improve the docs

This commit is contained in:
Sylvestre Ledru 2025-03-28 09:47:40 +01:00
parent 50fe623447
commit ccfcda531e
2 changed files with 124 additions and 730 deletions

View file

@ -47,8 +47,8 @@ macro_rules! util_name {
/// This macro is intended for quick, single-call tests. For more complex tests /// This macro is intended for quick, single-call tests. For more complex tests
/// that require multiple invocations of the tested binary, see [`TestScenario`] /// that require multiple invocations of the tested binary, see [`TestScenario`]
/// ///
/// [`UCommand`]: crate::tests::common::util::UCommand /// [`UCommand`]: crate::util::UCommand
/// [`TestScenario]: crate::tests::common::util::TestScenario /// [`TestScenario`]: crate::util::TestScenario
#[macro_export] #[macro_export]
macro_rules! new_ucmd { macro_rules! new_ucmd {
() => { () => {
@ -65,9 +65,9 @@ macro_rules! new_ucmd {
/// This macro is intended for quick, single-call tests. For more complex tests /// This macro is intended for quick, single-call tests. For more complex tests
/// that require multiple invocations of the tested binary, see [`TestScenario`] /// that require multiple invocations of the tested binary, see [`TestScenario`]
/// ///
/// [`UCommand`]: crate::tests::common::util::UCommand /// [`UCommand`]: crate::util::UCommand
/// [`AtPath`]: crate::tests::common::util::AtPath /// [`AtPath`]: crate::util::AtPath
/// [`TestScenario]: crate::tests::common::util::TestScenario /// [`TestScenario`]: crate::util::TestScenario
#[macro_export] #[macro_export]
macro_rules! at_and_ucmd { macro_rules! at_and_ucmd {
() => {{ () => {{

File diff suppressed because it is too large Load diff