Tests: store length of skipped header separately
@@ -622,6 +622,10 @@ pub fn delta_unreachable(message: &str) -> ! {
process::exit(error_exit_code);
}
+#[cfg(test)]
+// Usual length of the header returned by `run_delta()`, often `skip()`-ed.
+pub const HEADER_LEN: usize = 7;
+
#[cfg(test)]
pub mod tests {
use crate::bat_utils::output::PagingMode;
