mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +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);
|
|
}
|