marick/Midje — Issue #78: Functions with numbers in their names fail:
Author: acgetchell
Created: 2011-12-22 05:59:56+00:00
State: open

This fails as expected:

(unfinished simplex? type-id timeslice)

(fact
(simplex? :type type-id
:time-lo timeslice
:time-high timeslice
:points [p0 p1 p2 p3 p4]) => truthy)

(unfinished simplex? type-id timeslice)

PS C:\Projects\CDT\Newton> lein midje
Exception in thread "main" java.lang.RuntimeException: Unable to resolve symbol:
p0 in this context, compiling:(Newton/simplex.clj:23)

But this fails oddly:
(fact
(3-simplex? :type type-id
:time-lo timeslice
:time-high timeslice
:points [p0 p1 p2 p3 p4]) => truthy)

(unfinished 3-simplex? type-id timeslice)

PS C:\Projects\CDT\Newton> lein midje
Exception in thread "main" java.lang.NumberFormatException: Invalid number: 3-si
mplex?, compiling:(Newton/simplex.clj:20)