trycmd 0.8.1

Snapshot testing for a herd of CLI tests
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(feature = "debug")]
#[allow(unused_macros)]
macro_rules! debug {
    ($($arg:tt)*) => ({
        eprint!("[{:>w$}] \t", module_path!(), w = 28);
        eprintln!($($arg)*);
    })
}

#[cfg(not(feature = "debug"))]
#[allow(unused_macros)]
macro_rules! debug {
    ($($arg:tt)*) => {};
}