mirror of
https://github.com/storytold/font-preview-service.git
synced 2026-11-29 17:33:57 +01:00
Sonar reported main() as uncovered. Move the PORT lookup into a function that the tests can call without binding a socket, and cover the default, a valid value, and invalid values.