Make a test no longer `pub` (#32177)

I spotted this while working on something else. Very quick fix!

Release Notes:

- N/A
894f3b9d15Richard Feldman committed on 6/5/2025, 5:27:45 PM· committed by GitHubparentf36143a
1 file changedLine totals unavailable