Skip to content

Commit 858c751

Browse files
committed
style(tests): rustfmt v3_conformance text_ord/text_search closures
1 parent 75e5b05 commit 858c751

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

crates/eql-types/tests/v3_conformance.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,8 @@ fn non_int4_tokens_round_trip_every_domain() {
176176
let ord = |t: &str| json!({ "v": 2, "i": { "t": t, "c": "x" }, "c": "ct", "ob": ["b0", "b1"] });
177177
// Text routes equality through `hm`, so its ordered domains carry both `hm`
178178
// and `ob` (`[Hm, Ore]`); `text_search` adds the Bloom-filter match term.
179-
let text_ord =
180-
|t: &str| json!({ "v": 2, "i": { "t": t, "c": "x" }, "c": "ct", "hm": "deadbeef", "ob": ["b0", "b1"] });
181-
let text_search = |t: &str| {
182-
json!({ "v": 2, "i": { "t": t, "c": "x" }, "c": "ct", "hm": "deadbeef", "ob": ["b0", "b1"], "bf": [1, 2, 3] })
183-
};
179+
let text_ord = |t: &str| json!({ "v": 2, "i": { "t": t, "c": "x" }, "c": "ct", "hm": "deadbeef", "ob": ["b0", "b1"] });
180+
let text_search = |t: &str| json!({ "v": 2, "i": { "t": t, "c": "x" }, "c": "ct", "hm": "deadbeef", "ob": ["b0", "b1"], "bf": [1, 2, 3] });
184181

185182
// Roundtrip a payload byte-for-byte, then confirm the catalog domain name.
186183
macro_rules! round_trip {

0 commit comments

Comments
 (0)