alint 0.9.21

Language-agnostic linter for repository structure, file existence, filename conventions, and file content rules.
1
2
3
4
5
6
7
8
9
10
11
//! CLI snapshot tests. Each `*.toml` under `tests/cli/` describes
//! one invocation of the `alint` binary, paired with sandbox input
//! (`*.in/`), expected post-run tree (`*.out/`), and expected
//! stdout / stderr / exit status. Run via `cargo test -p alint
//! --test cli`; regenerate expected output with
//! `TRYCMD=overwrite cargo test -p alint --test cli`.

#[test]
fn cli_tests() {
    trycmd::TestCases::new().case("tests/cli/*.toml");
}