Allow multiple files in corpus (#144)

This commit is contained in:
Omar
2025-08-16 19:04:17 +03:00
committed by GitHub
parent 185edcfad9
commit c58551803d
2 changed files with 57 additions and 26 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ fn collect_corpora(args: &Arguments) -> anyhow::Result<HashMap<Corpus, Vec<Metad
let corpus = Corpus::try_from_path(path)?;
tracing::info!("found corpus: {}", path.display());
let tests = corpus.enumerate_tests();
tracing::info!("corpus '{}' contains {} tests", &corpus.name, tests.len());
tracing::info!("corpus '{}' contains {} tests", &corpus.name(), tests.len());
corpora.insert(corpus, tests);
}