summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/tests/testsuite/cargo_package/help/mod.rs
blob: 4e2f28e4fc79d5fd2f44f2657ccb2d5d9e38f401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use cargo_test_support::curr_dir;
use cargo_test_support::prelude::*;

#[cargo_test]
fn case() {
    snapbox::cmd::Command::cargo_ui()
        .arg("package")
        .arg("--help")
        .assert()
        .success()
        .stdout_matches_path(curr_dir!().join("stdout.log"))
        .stderr_matches_path(curr_dir!().join("stderr.log"));
}