-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Came across this working on http://www.4clojure.com/problem/147. Got "java.lang.ArithmeticException: integer overflow" on the command line (using lein-expectations), but the expectation does not get reported in emacs (if it's the only expectation the report says "Ran 0 tests, 0 failures, 0 errors") and there is no additional feedback about a failure or exception. Using expectations-mode as of 1fa68d0 and expectations 1.4.24.
To reproduce:
(defn pascals-trapezoid [v]
(lazy-seq
(cons v
(pascals-trapezoid (->> (concat [0] v [0]) (partition 2 1) (map (partial apply +)))))))
(expect (rest (take 101 (pascals-trapezoid [2 2]))) (take 100 (pascals-trapezoid [2 4 2])))I made a little repo you can clone to see the issue live and up close: https://github.com/dchelimsky/no-ae-in-expectations-mode
Metadata
Metadata
Assignees
Labels
No labels