Add #[track_caller] to test utilities that involve marked text (#32043)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-06-04 02:37:27 +00:00
committed by GitHub
parent 030d4d2631
commit 48eacf3f2a
7 changed files with 12 additions and 0 deletions
+1
View File
@@ -3701,6 +3701,7 @@ fn get_tree_sexp(buffer: &Entity<Buffer>, cx: &mut gpui::TestAppContext) -> Stri
}
// Assert that the enclosing bracket ranges around the selection match the pairs indicated by the marked text in `range_markers`
#[track_caller]
fn assert_bracket_pairs(
selection_text: &'static str,
bracket_pair_texts: Vec<&'static str>,