Skip to content

0.5.0

Latest

Choose a tag to compare

@woylie woylie released this 26 Aug 06:11
· 19 commits to main since this release
Immutable release. Only release title and notes can be modified.
bf75643

Added

  • Apply the associativity laws in Spek.optimize/1.

Changed

  • Set the :result of the Spek.Literal struct generated by
    Spek.Macros.defcheck/2 to the result of the check function.

Fixed

  • Allow the do-block of Spek.Macros.defcheck/2 to return an :ok or :error
    tuple that references the check arguments.
  • Fix the type spec generated by Spek.Macros.defcheck/2 for a do-block that
    returns a literal.
  • Collect the :reason option of Spek.Macros.defcheck/2 when the do-block
    returns a literal.
  • Don't flatten list results in Spek.collect_results/1 and
    Spek.collect_results/2.