Files
jj-vcs-jj/cli/tests/datatest_runner.rs
Jonas Greitemann e5878517b1 config-schema: rename schema test module used by datatest
Because the datatests don't use the default libtest harness, datatests
and normal tests cannot be mixed in the same module or even binary.

`test_config_schema` is renamed, both to reflect that it is unlike the
other `test_*` modules, but also to make the name available for "normal"
tests related to the config schema.
2025-06-01 17:36:37 +00:00

20 lines
508 B
Rust

mod datatest_config_schema;
datatest_stable::harness! {
{
test = datatest_config_schema::taplo_check_config_valid,
root = "src/config",
pattern = r".*\.toml",
},
{
test = datatest_config_schema::taplo_check_config_valid,
root = "tests/sample-configs/valid",
pattern = r".*\.toml",
},
{
test = datatest_config_schema::taplo_check_config_invalid,
root = "tests/sample-configs/invalid",
pattern = r".*\.toml",
}
}