rust/crates/tools/tests/cli.rs
2018-10-16 21:17:19 +03:00

13 lines
229 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-syntax`", error);
}
}