Skip to content

custom-set: Rewrite tests to use hspec with fail-fast. #283

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

Merged
merged 1 commit into from
Sep 5, 2016
Merged

custom-set: Rewrite tests to use hspec with fail-fast. #283

merged 1 commit into from
Sep 5, 2016

Conversation

rbasso
Copy link
Contributor

@rbasso rbasso commented Sep 3, 2016

  • Rewrite tests to use hspec.
  • Remove explicit testing of Show.

Related to #211.

size (fromList ([] :: [Integer])) `shouldBe` 0

it "size is the number of elements" $
size (fromList [1, 2, 3, 2]) `shouldBe` 3
Copy link
Member

Choose a reason for hiding this comment

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

the same as the below test!

- Rewrite tests to use hspec.
- Remove explicit testing of `Show`.
@petertseng
Copy link
Member

👍

@rbasso rbasso merged commit 1215ca6 into exercism:master Sep 5, 2016
@rbasso rbasso deleted the hspec-custom-set branch September 5, 2016 16:04
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.

2 participants