Eli Zaretskii writes: >> Cc: 70345@debbugs.gnu.org, Jacob Leeming >> From: Jacob Leeming >> Date: Mon, 22 Apr 2024 09:50:23 +0100 >> >> > Looks good to me. Are you willing to pack this up with a nice test >> > confirming the behavior? >> > >> > All the best, >> > Theo >> >> Thanks all, >> >> Discovered we had a similar issue for else blocks. Wrote a test that >> covers both cases. >> >> See the attached diff which contains my changes to the indent rules and >> the test. > > Thanks, I installed this on the emacs-29 branch. (The test you added > should have been added to csharp-mode-tests.el, since our test files > follow the names of the implementation files, and csharp-ts-mode is > implemented in csharp-mode.el. I fixed that.) The test should check that the c-sharp grammar is available so that it gets marked as skipped instead of failed.