mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
11 lines
171 B
Rust
11 lines
171 B
Rust
|
#[macro_use]
|
||
|
extern crate clap;
|
||
|
|
||
|
use clap::App;
|
||
|
|
||
|
#[test]
|
||
|
#[cfg(feature="yaml")]
|
||
|
fn create_app_from_yaml() {
|
||
|
let yml = load_yaml!("app.yml");
|
||
|
App::from_yaml(yml);
|
||
|
}
|