1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

pr: check the correct timestamp in test_with_pr_core_utils_tests

This commit is contained in:
Ben Wiederhake 2024-02-24 23:40:03 +01:00
parent 5a2e0c700e
commit 5fed98bb01

View file

@ -410,7 +410,7 @@ fn test_with_pr_core_utils_tests() {
let mut scenario = new_ucmd!(); let mut scenario = new_ucmd!();
let input_file_path = input_file.first().unwrap(); let input_file_path = input_file.first().unwrap();
let test_file_path = expected_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 let mut arguments: Vec<&str> = flags
.split(' ') .split(' ')
.filter(|i| i.trim() != "") .filter(|i| i.trim() != "")