test syntax recommendations

1 view
Skip to first unread message

Larrytheliquid

unread,
Nov 13, 2008, 12:49:15 PM11/13/08
to clo...@googlegroups.com
I'm porting RSpec to Clojure and would appreciate any syntax recommendations:
http://paste.lisp.org/display/70313

--
Respectfully,
Larry Diehl
www.larrytheliquid.com

James Reeves

unread,
Nov 13, 2008, 1:36:31 PM11/13/08
to Clojure
On Nov 13, 5:49 pm, Larrytheliquid <larrytheliq...@gmail.com> wrote:
> I'm porting RSpec to Clojure and would appreciate any syntax
> recommendations:http://paste.lisp.org/display/70313

This expression is not very 'lispy':

(=> (conj my-vec 1) should = [1])

Perhaps it should be:

(should = (conj my-vec 1) [1])

Or:

(should (= (conj my-vec 1) [1]))

- James
Reply all
Reply to author
Forward
0 new messages