wuxing164 / go-tour

Automatically exported from code.google.com/p/go-tour
0 stars 0 forks source link

In golang tour page 40, word count with maps. The test suite seems to incorrectly use the hardco... #95

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
https://feedback.corp.google.com/#/Report/1024871220

Description:
In go lang tour page 40, word count with maps.

The test suite seems to incorrectly use the hard coded results which give all 
the words the same word count 1.

As per my interpretation, the correct word count should be 1, 2, 8, 3. Not sure 
if the given answer is correct, or I am misinterpreting something.

Description translated:
In golang tour page 40, word count with maps.

The test suite seems to incorrectly use the hardcoded results which give all 
the words the same word count 1.

As per my interpretation, the correct word count should be 1, 2, 8, 3. Not sure 
if the given answer is correct, or I am misinterpreting something.

UI language: en
Detected language: en

Original issue reported on code.google.com by feedback...@gmail.com on 22 Jul 2013 at 7:19