Follow-up from "Optimize push rule file size check using quarantine dir"
The following discussion from !183600 should be addressed:
- [ ] @j.seto started a [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/183600#note_2389060619): (+1 comment)
> non-blocking: Have you considered using the parameterized syntax to these tests easier to read?
> https://docs.gitlab.com/development/testing_guide/best_practices/#table-based--parameterized-tests
issue