summaryrefslogtreecommitdiffstats
path: root/vendor/mdbook/tests/cli/cmd.rs
blob: a612f3ad2354d0d1647280b284c88c21ccea0542 (plain)
1
2
3
4
5
6
7
use assert_cmd::Command;

pub(crate) fn mdbook_cmd() -> Command {
    let mut cmd = Command::cargo_bin("mdbook").unwrap();
    cmd.env_remove("RUST_LOG");
    cmd
}