mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
15 lines
342 B
Rust
15 lines
342 B
Rust
use crate::prelude::*;
|
|
use cargo_test_support::file;
|
|
use cargo_test_support::str;
|
|
|
|
#[cargo_test]
|
|
fn case() {
|
|
snapbox::cmd::Command::cargo_ui()
|
|
.masquerade_as_nightly_cargo(&["-Z help"])
|
|
.args(["-Z", "help"])
|
|
.assert()
|
|
.success()
|
|
.stdout_eq(file!["stdout.term.svg"])
|
|
.stderr_eq(str![""]);
|
|
}
|