Skip to content

Commit 34d3d72

Browse files
committed
test(linter): add snapshot tester for cli (#8695)
Our first Snapshot 🥳
1 parent 741fb40 commit 34d3d72

9 files changed

+323
-140
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/oxlint/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ oxc_span = { workspace = true }
3737

3838
bpaf = { workspace = true, features = ["autocomplete", "bright-color", "derive"] }
3939
ignore = { workspace = true, features = ["simd-accel"] }
40+
insta = { workspace = true }
4041
miette = { workspace = true }
4142
rayon = { workspace = true }
4243
rustc-hash = { workspace = true }

apps/oxlint/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ mod lint;
33
mod output_formatter;
44
mod result;
55
mod runner;
6+
mod tester;
67
mod walk;
78

89
pub mod cli {

0 commit comments

Comments
 (0)