Skip to content

matrix: Rewrite tests to use hspec with fail-fast. #261

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
Aug 7, 2016
Merged

matrix: Rewrite tests to use hspec with fail-fast. #261

merged 1 commit into from
Aug 7, 2016

Conversation

rbasso
Copy link
Contributor

@rbasso rbasso commented Aug 7, 2016

Related to #211.

(rows &&& cols) (intMatrix "1 2") `shouldBe` (1, 2)

it "eq" $
intMatrix "1 2" `shouldBe` intMatrix "1 2"
Copy link
Member

Choose a reason for hiding this comment

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

hmm. maybe something should test not equal as well.

(unrelated to hunit->hspec conversion though)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test added.

@petertseng
Copy link
Member

👍

1 similar comment
@petertseng
Copy link
Member

👍

- Rewrite test to use hspec.
- Add failed equality test.
@rbasso rbasso merged commit bbd95da into exercism:hspec-fail-fast Aug 7, 2016
@rbasso rbasso deleted the hspec-matrix branch August 7, 2016 21:47
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