blade-cli 0.1.0

Fast, Node-free linter for Laravel Blade templates
1
2
3
4
5
6
7
8
9
10
11
use assert_cmd::Command;

#[test]
fn version_flag_prints_name_and_version() {
    Command::cargo_bin("blade")
        .unwrap()
        .arg("--version")
        .assert()
        .success()
        .stdout("blade 0.1.0\n");
}