Skip to content

wc: pass GNU test wc-files0-from.pl#5582

Merged
cakebaker merged 2 commits intouutils:mainfrom
zhitkoff:wc-files
Nov 27, 2023
Merged

wc: pass GNU test wc-files0-from.pl#5582
cakebaker merged 2 commits intouutils:mainfrom
zhitkoff:wc-files

Conversation

@zhitkoff
Copy link
Copy Markdown
Contributor

Pass the GNU tests/wc/wc-files0-from.pl test

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-files0-from is no longer failing!
GNU test failed: tests/tail/inotify-dir-recreate. tests/tail/inotify-dir-recreate is passing on 'main'. Maybe you have to rebase?

}
}
(Some(_), Some(_)) => Err(WcError::FilesDisabled.into()),
(Some(mut files), Some(_)) => Err(WcError::files_disabled(files.next()).into()),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be cleaner to do the unwrap() here because here it is obvious why it is safe to do. In files_disabled the context is missing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cakebaker updated

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/wc/wc-files0-from is no longer failing!

@zhitkoff zhitkoff requested a review from cakebaker November 26, 2023 21:43
@cakebaker cakebaker merged commit 55d931e into uutils:main Nov 27, 2023
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks :)

@zhitkoff zhitkoff deleted the wc-files branch February 9, 2024 16:11
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