|
Ran
|
Jobs
1
|
Files
34
|
Run time
1min
|
Badge
README BADGES
|
push
github
feat: add translations for alphaspace and alphanumspace tags in indonesian (#1522) This pull request adds support for two new validation tags, `alphaspace` and `alphanumspace`, to the Indonesian translations. It also updates the corresponding unit tests to ensure these new tags are properly validated and translated. **Translation additions:** * Added Indonesian translation for the `alphaspace` validation tag, indicating that a field may only contain alphabetic characters and spaces. * Added Indonesian translation for the `alphanumspace` validation tag, indicating that a field may only contain alphanumeric characters and spaces. **Testing improvements:** * Updated the `TestStringTagsTranslations` test struct and test cases to include fields for `Alphaspace` and `Alphanumspace`, and added invalid test values for both. [[1]](diffhunk://#diff-<a class=hub.com/go-playground/validator/commit/e71a6006a2e0721801e0d7233ec0aa3d5f2d250e">e71a6006a037b05bcd8373d1fad2c7d09R402-R403) [[2]](diffhunk://#diff-e71a6006a2e0721801e0d7233ec0aa3d5f2d250e037b05bcd8373d1fad2c7d09R430-R431) * Added expected error messages for the new validation tags to the test assertions, ensuring the translations are correct.## Fixes Or Enhances **Make sure that you've checked the boxes below before you submit PR:** - [x] Tests exist or have been written that cover this particular change. @go-playground/validator-maintainers
10 of 10 new or added lines in 1 file covered. (100.0%)
14454 of 19578 relevant lines covered (73.83%)
81.24 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20939362550.1 | 34 |
73.83 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|