mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 00:27:13 +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);
|
|
}
|