rust/crates/tools/tests/cli.rs

13 lines
228 B
Rust
Raw Normal View History

extern crate tools;
use tools::{
2018-10-16 12:53:19 -05:00
generate, Verify
};
#[test]
fn verify_template_generation() {
2018-10-16 12:53:19 -05:00
if let Err(error) = generate(Verify) {
panic!("{}. Please update it by running `cargo gen-kinds`", error);
}
}