mirror of
https://github.com/rust-lang/cargo
synced 2024-11-05 18:50:39 +00:00
12 lines
281 B
Rust
12 lines
281 B
Rust
use support::{project, execs};
|
|
use hamcrest::assert_that;
|
|
|
|
fn setup() {}
|
|
|
|
test!(simple {
|
|
let p = project("foo");
|
|
|
|
assert_that(p.cargo_process("cargo-version"),
|
|
execs().with_status(0).with_stdout(format!("{}\n",
|
|
env!("CFG_VERSION")).as_slice()));
|
|
})
|