use std::path::Path;
use crate::{lint::tariff, test, Version};
#[test_each::file(
glob = "ocpi-tariffs/test_data/v211/lint/*/tariff*.json",
name(segments = 2)
)]
fn should_lint_tariff(tariff_json: &str, path: &Path) {
test::setup();
tariff::test::lint_tariff(tariff_json, path, Version::V211);
}