Skip to content

Add some helper functions#6

Merged
LiamGoodacre merged 2 commits into
purescript:masterfrom
joneshf:add-some-helpers
Feb 18, 2018
Merged

Add some helper functions#6
LiamGoodacre merged 2 commits into
purescript:masterfrom
joneshf:add-some-helpers

Conversation

@joneshf

@joneshf joneshf commented Jan 15, 2018

Copy link
Copy Markdown
Member

Should close #5.

Let me know if there's anything that should change.

The functions before work really well for quick asserts here and there.
When these functions are used as the only means of testing,
it becomes harder to know what caused the failure.

If we provide just a small bit of context (actual/expected),
we can make it quite a bit easier to understand failures.
@LiamGoodacre

LiamGoodacre commented Jan 28, 2018

Copy link
Copy Markdown
Member

👍 except that you also need to export the declarations!

They're no good if they aren't used...
@joneshf

joneshf commented Jan 28, 2018

Copy link
Copy Markdown
Member Author

Whoops! Thanks for the review!

@joneshf

joneshf commented Feb 17, 2018

Copy link
Copy Markdown
Member Author

How are things looking now?

@LiamGoodacre LiamGoodacre merged commit 4547e98 into purescript:master Feb 18, 2018
@LiamGoodacre

Copy link
Copy Markdown
Member

Thanks!

@joneshf joneshf deleted the add-some-helpers branch February 18, 2018 18:02
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.

Can we make assertion output more readable?

2 participants