windows: Fix tests on Windows (#22616)

Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla.c.maki@gmail.com>
74c4dbd237张小白 committed on 2/5/2025, 2:30:09 PM· committed by GitHubparentc252b5d
56 files changedLine totals unavailable