aboutsummaryrefslogtreecommitdiff
path: root/crates/tools/tests/cli.rs
blob: 5de52fc2b8dfd737164f097b4d8aea85ffd3a71d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
    }
}