From 5fed98bb01db06e47ca0ad707b1bf94b066f7365 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 24 Feb 2024 23:40:03 +0100 Subject: [PATCH] pr: check the correct timestamp in test_with_pr_core_utils_tests --- tests/by-util/test_pr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_pr.rs b/tests/by-util/test_pr.rs index 45f262140f..af3c41f1bd 100644 --- a/tests/by-util/test_pr.rs +++ b/tests/by-util/test_pr.rs @@ -410,7 +410,7 @@ fn test_with_pr_core_utils_tests() { let mut scenario = new_ucmd!(); let input_file_path = input_file.first().unwrap(); let test_file_path = expected_file.first().unwrap(); - let value = file_last_modified_time(&scenario, test_file_path); + let value = file_last_modified_time(&scenario, input_file_path); let mut arguments: Vec<&str> = flags .split(' ') .filter(|i| i.trim() != "")