Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
33
third-party/vendor/num_enum/tests/renamed_num_enum.rs
vendored
Normal file
33
third-party/vendor/num_enum/tests/renamed_num_enum.rs
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#[test]
|
||||
fn no_std() {
|
||||
assert!(::std::process::Command::new("cargo")
|
||||
.args([
|
||||
"run",
|
||||
"--manifest-path",
|
||||
concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
"/../renamed_num_enum/Cargo.toml",
|
||||
),
|
||||
])
|
||||
.status()
|
||||
.unwrap()
|
||||
.success())
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn std() {
|
||||
assert!(::std::process::Command::new("cargo")
|
||||
.args([
|
||||
"run",
|
||||
"--manifest-path",
|
||||
concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
"/../renamed_num_enum/Cargo.toml",
|
||||
),
|
||||
"--features",
|
||||
"std",
|
||||
])
|
||||
.status()
|
||||
.unwrap()
|
||||
.success())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue