Skip to content

Challenge 6: Word Frequency Counter - Test Case 3 #1272

@pc386

Description

@pc386

There is one test case for Challenge 6: Word Frequency Counter which I disagree with.

=== RUN   TestCountWordFrequency/Test_Case_#3
    solution_test.go:84: Expected {
          "go": 4,
          "learn": 1,
          "lets": 1,
          "programming": 1,
        } but got {
          "go": 4,
          "learn": 1,
          "let's": 1,
          "programming": 1,
        }

As you can see, the test expects lets instead of let's. But in my opinion, they are not the same words. I think it should stay let's.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions