rust/crates/tools/tests/cli.rs
Aleksey Kladov b43bcd43c6 fix tests
2018-10-16 20:53:19 +03:00

13 lines
228 B
Rust

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