Make the compare functions async.

This commit is contained in:
Tom Alexander
2023-10-14 17:48:38 -04:00
parent c20e7b5f2f
commit 123da9cca3
4 changed files with 16 additions and 16 deletions

View File

@@ -222,7 +222,7 @@ impl TestConfig {
impl SingleFile {
async fn run_test(self) -> Result<SingleFileResult, JoinError> {
let _permit = TEST_PERMITS.acquire().await.unwrap();
let result = silent_compare_on_file(&self.file_path);
let result = silent_compare_on_file(&self.file_path).await;
Ok(SingleFileResult {
name: self.name,
file_path: self.file_path,