-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
test: add < and > operators for string comparison #7315
Conversation
GNU testsuite comparison:
|
would it be possible to add tests with more complex string ? utf8 char, broken input, etc? |
I added just a few more, including strings with spaces, strings of different lengths, empty strings, and Unicode. |
GNU testsuite comparison:
|
GNU testsuite comparison:
|
985c82a
to
d8058f2
Compare
GNU testsuite comparison:
|
ouhlala :) |
Great, thanks :) |
* test: add < and > operators for string comparison Fixes uutils#7254. * Add more tests for string inequality * Use match in place of if/elseif block Co-authored-by: Daniel Hofstetter <[email protected]> * Change test name to specify lt/gt operator --------- Co-authored-by: Daniel Hofstetter <[email protected]>
Fixes #7254.