Fix rule that removes trailing nil and add tests
I realized that the integration tests was not running and I corrected the logic to pop the trailing nil values with their commas.
Checklist:
-
add entry to changelog -
update relevant documentation -
don't forget testing 😉
Edited by jeparlefrancais