Skip to content
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

unexpand: return Result instead of calling crash! #3603

Merged
merged 1 commit into from
Jun 11, 2022

Conversation

cakebaker
Copy link
Contributor

This PR replaces the use of crash! with returning a Result and adds some missing tests.

It also fixes a small bug: using the same tab position twice, for example --tabs=1,1, now results in an error.

@sylvestre sylvestre force-pushed the return_result_instead_of_crash branch from ef59a0f to 0c0e4db Compare June 10, 2022 08:06
@sylvestre sylvestre merged commit 98cf165 into uutils:main Jun 11, 2022
@cakebaker cakebaker deleted the return_result_instead_of_crash branch June 12, 2022 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants