2018-10-14 20:32:57 +06:00
|
|
|
extern crate tools;
|
|
|
|
|
2018-10-15 17:44:23 -04:00
|
|
|
use tools::{
|
2018-10-16 20:53:19 +03:00
|
|
|
generate, Verify
|
2018-10-15 17:44:23 -04:00
|
|
|
};
|
2018-10-14 20:32:57 +06:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn verify_template_generation() {
|
2018-10-16 20:53:19 +03:00
|
|
|
if let Err(error) = generate(Verify) {
|
2018-10-14 20:58:53 +06:00
|
|
|
panic!("{}. Please update it by running `cargo gen-kinds`", error);
|
|
|
|
}
|
2018-10-15 23:52:11 +06:00
|
|
|
}
|