feat: PR review suggestion

Signed-off-by: Darkheir <raphael.cohen@sekoia.io>
This commit is contained in:
Darkheir
2026-01-15 21:28:37 +01:00
committed by PSeitz
parent f981e6e1f1
commit 276740bed4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ impl fmt::Debug for LogicalLiteral {
ref pattern,
ref field,
} => write!(formatter, "Regex({field:?}, {pattern:?})"),
LogicalLiteral::Exists { ref field } => write!(formatter, "exists:{field}"),
LogicalLiteral::Exists { ref field } => write!(formatter, "Exists({field})"),
}
}
}
+1 -1
View File
@@ -2123,6 +2123,6 @@ mod test {
#[test]
pub fn test_exists() {
test_parse_query_to_logical_ast_helper("title:*", "exists:title", false);
test_parse_query_to_logical_ast_helper("title:*", "Exists(title)", false);
}
}