Add a test to ensure we invalidate brackets not only on edits (#45219)

Follow-up of https://github.com/zed-industries/zed/pull/45187

Release Notes:

- N/A
54f360ace1Kirill Bulatov committed on 12/18/2025, 10:42:37 AM· committed by GitHubparentb2a0b78
1 file changedLine totals unavailable