use crate::rules::posix_tools::tail::rule;

#[test]
fn converts_tail_with_count_to_last() {
    let source = "^tail -10 file.txt";
    rule().assert_replacement_contains(source, "last 10");
    rule().assert_fix_explanation_contains(source, "last");
}
