bito-code-review[bot] commented on PR #44395:
URL: https://github.com/apache/superset/pull/44395#issuecomment-5728185308

   <!-- Bito Reply -->
   Adding a focused regression test is a sound approach to ensure the 
normalization process remains robust. You can implement this by creating a 
small `.pot` fixture with wrapped, unsorted, and location-heavy content, then 
running `msgcat --sort-output --no-wrap --no-location` against it and asserting 
the output matches a pre-defined expected state. To test the failure case, you 
can temporarily inject a command that forces a non-zero exit code (e.g., 
`msgcat --invalid-flag ... || exit 1`) and verify that the script terminates as 
expected before reaching the `pybabel update` step.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to