-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
spacecheck.pl: verify tests/data/test*
for non-ASCII chars
#17329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Exclude test data files (4 of them) based on existing feature tags: `codeset-utf8` and `Unicode`. Add a new feature 'codeset-non-ascii' to mark remaining exceptions (9 files). Follow-up to 838dc53 curl#17247
tests/data/test*
files for non-ASCII charstests/data/test*
for non-ASCII chars
This new feature should be documented in tests/FILEFORMAT.md preferably with a description since it's not obvious what it does by the name. |
When you make this a feature, you make sure that all curl builds that are built without this feature (all of them) will skip these tests. I propose you don't abuse the feature tag for this tagging of test files. Perhaps use |
Ah, indeed, I forgot about the side-effect. Settled with making it a |
This comment was marked as outdated.
This comment was marked as outdated.
Instead of skipping the UTF check for these files, we can fix them to use hex encoding instead of UTF-8. I made a test shot of this in #17331 |
- replace ß (scharfes S) with links. - replace § (section sign) with links. - replace 🙏 emoji with `:pray:`. Supported by GitHub, Forgejo/Gitea and most likely GitLab. - docs/libcurl/curl_mprintf.md: replace Unicode ± with `{+|-}`. - docs/CIPHERS.md: URL encode Unicode in URLs. - lib1560: use hex encoding in `räksmörgås.se`. - unit1307: use hex encoding in `Lindmätarv`. - drop LATIN SMALL LETTER A WITH ACUTE exception. No longer appears in tests. This leaves the single character exception: `ö` And file exceptions holding contributor names. Follow-up to 9243ed5 #17329 Follow-up to 838dc53 #17247 Closes #17335
Exclude test data files (4 of them) based on existing feature tags:
codeset-utf8
andUnicode
.Add the new keyword
non-ascii
to mark remaining exceptions (9 files).Follow-up to 838dc53 #17247