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

added asClue helper and rewrote withClue to allow nesting #784

Merged
merged 2 commits into from
Jun 2, 2019

Conversation

lenalebt
Copy link
Contributor

fixes #783

I changed to formatting of the former withClue to add newlines after each clue, since I think this is more readable, especially when using data classes as clue. Additionally, I allowed returning something from the body (in both cases). It is not strictly needed for these cases, but sometimes comes in handy to write code in an immutable way and does not hurt either.

Copy link
Member

@LeoColman LeoColman left a comment

Choose a reason for hiding this comment

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

Great implementation and tests!

@lenalebt
Copy link
Contributor Author

Thanks :). Trying to give back some of the joy I'm having when using the framework ;).

@LeoColman
Copy link
Member

Good for me.

Whenever you want it, @sksamuel

@sksamuel
Copy link
Member

sksamuel commented May 27, 2019 via email

@LeoColman LeoColman merged commit f582573 into kotest:master Jun 2, 2019
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.

withClue: Clues should be nestable
3 participants