This commit is contained in:
Jana Dönszelmann 2026-04-03 18:07:35 +02:00
parent bb8f6bedf6
commit 4a6c1020f4
No known key found for this signature in database
10 changed files with 113 additions and 34 deletions

View file

@ -167,7 +167,7 @@ mod tests {
use crate::tui::{
filter::{Filter, FilterKind, Matcher, MatcherValue},
log_viewer::filters::Filters,
model::FieldsName,
model::SpanDescriptor,
processing::Cursor,
widgets::last_error::LastError,
};
@ -311,7 +311,7 @@ mod tests {
matcher: Matcher::Field {
name: "message".to_string(),
value: MatcherValue::Exact("foo".to_string()),
span: FieldsName::Main,
span: SpanDescriptor::Main,
},
kind: FilterKind::Remove,
}));
@ -337,7 +337,7 @@ mod tests {
matcher: Matcher::Field {
name: "message".to_string(),
value: MatcherValue::Exact("baz".to_string()),
span: FieldsName::Main,
span: SpanDescriptor::Main,
},
kind: FilterKind::Remove,
}));
@ -368,7 +368,7 @@ mod tests {
matcher: Matcher::Field {
name: "name".to_string(),
value: MatcherValue::Exact("nest".to_string()),
span: FieldsName::Main,
span: SpanDescriptor::Main,
},
kind: FilterKind::Inline,
}));
@ -415,7 +415,7 @@ mod tests {
matcher: Matcher::Field {
name: "name".to_string(),
value: MatcherValue::Exact("nest".to_string()),
span: FieldsName::Main,
span: SpanDescriptor::Main,
},
kind: FilterKind::Inline,
}));
@ -465,7 +465,7 @@ mod tests {
matcher: Matcher::Field {
name: "name".to_string(),
value: MatcherValue::Exact("nest1".to_string()),
span: FieldsName::Main,
span: SpanDescriptor::Main,
},
kind: FilterKind::Inline,
}));
@ -473,7 +473,7 @@ mod tests {
matcher: Matcher::Field {
name: "name".to_string(),
value: MatcherValue::Exact("nest2".to_string()),
span: FieldsName::Main,
span: SpanDescriptor::Main,
},
kind: FilterKind::Inline,
}));