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

anagram: Update test cases #443

Merged
merged 1 commit into from
Apr 2, 2017

Conversation

behrtam
Copy link
Contributor

@behrtam behrtam commented Mar 22, 2017

Updates the test cases according to the canonical test data and stores the test data version.

I switched from strings splitter into a list to use lists directly. This does not change anythings for the functions, but I think it makes it more clear for users that look at the tests, what their function can expect to receive.

        detect_anagrams(
             "good",
-            "dog goody".split()
        )

        detect_anagrams(
           "good",
+          ["dog", "goody"]
        )

Updates the test cases according to the canonical test data
and stores the test data version.
@behrtam behrtam merged commit 7a84127 into exercism:master Apr 2, 2017
behrtam added a commit that referenced this pull request Apr 2, 2017
Updates the test cases according to the canonical test data
and stores the test data version.
@behrtam behrtam deleted the anagram-update-test-cases branch September 3, 2017 10:49
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.

1 participant