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