Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buck2_validation: tweak and slightly improve error message
Previously, when using `ValidationInfo()` with a failure, it ends up turning out an awkward message that turns { "status": "failure", "message": "you failed the test!" } into "you failed the test!". After this patch, it comes out as: you failed the test! Which seems much more reasonable and easy to parse. It also gives the validation message more control over the punctuation. Signed-off-by: Austin Seipp <aseipp@pobox.com>
- Loading branch information