 ;;     expected: 3
 ;;       actual: 4
 (deftest example-of-a-simple-equality-test-failure
-  (expect ( #(+ 1 %) 3) => 3))
+  (expect ( #(+ 1 %) 3) => 3)                                          (note-expected))
 
 ;; You can also use functions on the right-hand side. In that case,
 ;; the actual result is passed as the function's single argument.
 (deftest example-of-a-function-as-right-hand-side
-  (expect ( #(+ 1 %) 3) => odd?))
+  (expect ( #(+ 1 %) 3) => odd?)                                       (note-expected))
 ;; The failing test will look slighly different:
 ;;     FAIL at (core_test.clj:28)
 ;;     Actual result did not pass expected function.


;; If you're testing something that produces a function, use
;; (exactly):
(deftest example-of-a-function-as-right-hand-side
  (expect (first [even? odd?]) => (exactly odd?)))
;;     Actual result did not pass expected function.
;;     expected function: (exactly odd?)
;;         actual result: #<core$even_QMARK___4680 clojure.core$even_QMARK___4680@494b6bed>

;;            (ns-publics (40 'midje.checkers))
;; They have doc strings.
;; Here's one of them:
(deftest example-of-a-predefined-checker
  (expect '[3 1 2] => (in-any-order [1 2 3]))                         ;; succeeds
  (expect '[3 3 1 2] => (in-any-order [1 2 3]))                       (note-expected))
;;     FAIL at (core_test.clj:51)
;;     Actual result did not pass expected function.
;;     expected function: (in-any-order [1 2 3])
