test(xatu): cover future sight findings

This commit was merged in pull request #74.
This commit is contained in:
2026-09-18 23:25:00 -04:00
parent 1fa3962fed
commit a6fe84190e
5 changed files with 70 additions and 0 deletions

View File

@@ -24,6 +24,20 @@ rust_test(
deps = [":xatu_lib"],
)
rust_test(
name = "xatu_test",
srcs = ["xatu_test.rs"],
data = [
"testdata/clean.nix",
"testdata/empty_inherit.nix",
"testdata/invalid.nix",
],
deps = [
":xatu_lib",
"//src/status:status",
],
)
rust_binary(
name = "xatu",
crate_name = "xatu_cli",