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

Drop hspec-expectations asserts as they don't get rendered properly by tasty #323

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

fendor
Copy link
Collaborator

@fendor fendor commented Dec 28, 2021

I introduced hspec-expectations because I prefer the asserts over the infix operators from tasty-hunit and the libraries feels more batteries-included.

Tasty doesn't render errors from those assert properly, which makes it way harder to read once a test fails. Thus, drop them.

@fendor fendor changed the title Drop hspec-expectations asserts as they don't get rendered properly tasty Drop hspec-expectations asserts as they don't get rendered properly by tasty Dec 28, 2021
Remove hspec-expectations dependency since it doesn't get rendered
properly and makes failing test-cases harder to read.
@fendor fendor force-pushed the enhance/drop-hspec-expectations branch from bf4b93c to 4ffee0b Compare December 28, 2021 11:55
Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

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

lgtm

@jneira jneira merged commit 0e60597 into haskell:master Dec 28, 2021
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.

None yet

2 participants