mirror of
https://github.com/rust-lang/cargo
synced 2024-10-14 03:32:39 +00:00
14 lines
341 B
Rust
14 lines
341 B
Rust
|
use cargo_test_support::curr_dir;
|
||
|
use cargo_test_support::prelude::*;
|
||
|
|
||
|
#[cargo_test]
|
||
|
fn case() {
|
||
|
snapbox::cmd::Command::cargo_ui()
|
||
|
.arg("init")
|
||
|
.arg("--help")
|
||
|
.assert()
|
||
|
.success()
|
||
|
.stdout_matches_path(curr_dir!().join("stdout.log"))
|
||
|
.stderr_matches_path(curr_dir!().join("stderr.log"));
|
||
|
}
|