Use `line_endings` macro for the edit tool tests (#26642)

This aligns with how we handle other tests on Windows.

Release Notes:

- N/A
0b492c11de张小白 committed on 3/15/2025, 6:16:10 AM· committed by GitHubparent265caed
3 files changedLine totals unavailable