Skip to content

Commit

Permalink
[Issue #82] better test case
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBaranosky committed Mar 15, 2012
1 parent 563e76d commit cf45797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/midje/ideas/t_formulas.clj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
(formula "a doc string" [a 1] a => 1 a => 1))

(causes-validation-error #"Invalid keys \(:foo, :bar\) in formula's options map. Valid keys are: :num-trials"
(formula {:foo 5 :bar 6} [a 1] a => 1))
(formula {:foo 5 :bar 6 :num-trials 5} [a 1] a => 1))

(each-causes-validation-error #":num-trials must be an integer 1 or greater"
(formula {:num-trials 0 } [a 1] a => 1)
Expand Down

0 comments on commit cf45797

Please sign in to comment.