Skip to content

Commit

Permalink
Comment did not make sense to me. Now it does.
Browse files Browse the repository at this point in the history
  • Loading branch information
marick committed Mar 24, 2011
1 parent 239c758 commit 1c1612a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/midje/midje_forms/recognizing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
(and (zip/branch? loc)
(namespacey-match '(expect) (zip/down loc))))

;; A problem with not using namespacey-match for this is that
;; it will then match quoted Midje forms in a zillion tests.
;; The reason for not using namespacey-match for this is that
;; it would then match quoted Midje forms in a zillion tests.
(defn loc-is-start-of-check-sequence? [loc]
(and (zip/right loc)
(namespacey-match expect-arrows (zip/right loc))))
Expand Down

0 comments on commit 1c1612a

Please sign in to comment.