mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
This removes an external tool dependency, skips the complexities of subprocessing, and avoids having to poke a hole in the macOS Nix sandbox because of `reqwest` trying to read the system’s TLS configuration. Note that despite the `Cargo.lock` getting bigger, this is actually a net reduction of dependencies, as Taplo is written in Rust and pulls in not only `jsonschema` but much more besides.
19 lines
505 B
Rust
19 lines
505 B
Rust
mod datatest_config_schema;
|
|
|
|
datatest_stable::harness! {
|
|
{
|
|
test = datatest_config_schema::check_config_file_valid,
|
|
root = "src/config",
|
|
pattern = r".*\.toml",
|
|
},
|
|
{
|
|
test = datatest_config_schema::check_config_file_valid,
|
|
root = "tests/sample-configs/valid",
|
|
pattern = r".*\.toml",
|
|
},
|
|
{
|
|
test = datatest_config_schema::check_config_file_invalid,
|
|
root = "tests/sample-configs/invalid",
|
|
pattern = r".*\.toml",
|
|
}
|
|
}
|