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

WordCountCommand returns incorrect word count #20

Open
1 task done
phougatv opened this issue Sep 1, 2024 · 0 comments
Open
1 task done

WordCountCommand returns incorrect word count #20

phougatv opened this issue Sep 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@phougatv
Copy link
Owner

phougatv commented Sep 1, 2024

Is there an existing issue for this?

  • No, this is the first issue.

Describe the bug

The Execute(String filepath) method of WordCountCommand class returns incorrect word count when compared to the requirement.
Actual: 59792 test.txt.

Expected behavior

The expected word count is: 58164 test.txt.

Steps to reproduce

In launchSettings.json set "commandLineArgs": "-w test.txt" and run the application.

Exception (if any)

None.

.NET version

8.0.303

@phougatv phougatv added the bug Something isn't working label Sep 1, 2024
@phougatv phougatv self-assigned this Sep 1, 2024
@phougatv phougatv pinned this issue Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant