Skip to content

Instantly share code, notes, and snippets.

@bvenners
Created December 18, 2013 16:49
Show Gist options
  • Save bvenners/8025646 to your computer and use it in GitHub Desktop.
Save bvenners/8025646 to your computer and use it in GitHub Desktop.
Chaining side effect checks in a test with a result type
{
// do first step
// pure assert first side effect
} && {
// do second step
// pure assert second side effect
} && {
// do third step
// pure assert third side effect
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment