Skip to content

Anagram - add test cases for differently-cased words#1552

Merged
kotp merged 1 commit intoexercism:masterfrom
marko213:anagram-patch
Jul 15, 2019
Merged

Anagram - add test cases for differently-cased words#1552
kotp merged 1 commit intoexercism:masterfrom
marko213:anagram-patch

Conversation

@marko213
Copy link
Copy Markdown
Contributor

@marko213 marko213 commented Jul 14, 2019

Add two test cases to catch some weird solutions where all words are rejected if the matched words have different case.

Original PR on the cpp track: exercism/cpp#297

Comment thread exercises/anagram/canonical-data.json Outdated
@petertseng
Copy link
Copy Markdown
Member

The pull request description has a good description because it describes the reason for the change. The description should be included in the commit message as well; otherwise the commit message only says "modify test cases" which is not helpful for understanding at all.

Add two test cases to catch some weird solutions where all words are rejected if the matched words have different case.
@marko213 marko213 changed the title Anagram - modify test cases Anagram - add test cases for differently-cased words Jul 14, 2019
Copy link
Copy Markdown
Member

@kotp kotp left a comment

Choose a reason for hiding this comment

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

Indentation is nice, thanks @marko213 and @SleeplessByte for catching that.

Looks good.

@kotp kotp merged commit 4f6e240 into exercism:master Jul 15, 2019
@marko213 marko213 deleted the anagram-patch branch July 15, 2019 16:31
petertseng pushed a commit to petertseng/exercism-ceylon that referenced this pull request Sep 1, 2019
Add two test cases to catch some weird solutions where all words are
rejected if the matched words have different case.

exercism/cpp#297
exercism/problem-specifications#1552
petertseng pushed a commit to petertseng/exercism-ceylon that referenced this pull request Sep 1, 2019
Add two test cases to catch some weird solutions where all words are
rejected if the matched words have different case.

exercism/cpp#297
exercism/problem-specifications#1552
petertseng pushed a commit to petertseng/exercism-ceylon that referenced this pull request Sep 1, 2019
Add two test cases to catch some weird solutions where all words are
rejected if the matched words have different case.

exercism/cpp#297
exercism/problem-specifications#1552
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.

4 participants