diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index d89af7d5..4074551b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -623,6 +623,10 @@ pub fn delta_unreachable(message: &str) -> ! { } #[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; use crate::cli; |