1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

pr: add last page option in +page

This commit is contained in:
tilakpatidar 2019-01-04 23:14:04 +05:30 committed by Max Semenik
parent 3be5dc6923
commit 4bf5b86cde
2 changed files with 26 additions and 3 deletions

View file

@ -273,6 +273,14 @@ fn test_with_page_range() {
expected_test_file_path1,
vec![(&"{last_modified_time}".to_string(), &value)],
);
new_ucmd!()
.args(&["+15:17", test_file_path])
.succeeds()
.stdout_is_templated_fixture(
expected_test_file_path1,
vec![(&"{last_modified_time}".to_string(), &value)],
);
}
#[test]