mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
15 lines
322 B
Rust
15 lines
322 B
Rust
use cargo_test_support::file;
|
|
use cargo_test_support::prelude::*;
|
|
use cargo_test_support::str;
|
|
|
|
#[cargo_test]
|
|
fn case() {
|
|
snapbox::cmd::Command::cargo_ui()
|
|
.arg("add")
|
|
.arg("--help")
|
|
.assert()
|
|
.success()
|
|
.stdout_matches(file!["stdout.log"])
|
|
.stderr_matches(str![""]);
|
|
}
|