Skip to content

Commit aa1a794

Browse files
committed
Remove unused assertion function
1 parent 88332b2 commit aa1a794

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

helix-core/src/match_brackets.rs

-6
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,6 @@ mod tests {
175175
assert_eq!(pos, actual.unwrap(), "expected symmetrical behaviour");
176176
};
177177

178-
let assert_no_match = |input: &str, pos| {
179-
let input = &Rope::from(input);
180-
let actual = find_matching_bracket_current_line_plaintext(input, pos);
181-
assert!(actual.is_none(), "expected no match");
182-
};
183-
184178
assert("(hello)", 0, 6);
185179
assert("((hello))", 0, 8);
186180
assert("((hello))", 1, 7);

0 commit comments

Comments
 (0)