summaryrefslogtreecommitdiffstats
path: root/crates/searcher/src/sink.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/searcher/src/sink.rs')
-rw-r--r--crates/searcher/src/sink.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/searcher/src/sink.rs b/crates/searcher/src/sink.rs
index 41f425cc..e82634cd 100644
--- a/crates/searcher/src/sink.rs
+++ b/crates/searcher/src/sink.rs
@@ -436,6 +436,7 @@ pub enum SinkContextKind {
/// A type that describes a contextual line reported by a searcher.
#[derive(Clone, Debug)]
pub struct SinkContext<'b> {
+ #[cfg(test)]
pub(crate) line_term: LineTerminator,
pub(crate) bytes: &'b [u8],
pub(crate) kind: SinkContextKind,