This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-01
Channels
- # admin-announcements (20)
- # aws (24)
- # beginners (323)
- # boot (60)
- # business (1)
- # cider (23)
- # clara (7)
- # cljs-dev (38)
- # cljsrn (12)
- # clojure (302)
- # clojure-canada (5)
- # clojure-dev (26)
- # clojure-miami (1)
- # clojure-nl (13)
- # clojure-russia (64)
- # clojurecup (1)
- # clojurescript (202)
- # clojurex (4)
- # code-reviews (5)
- # core-async (23)
- # cursive (39)
- # datavis (26)
- # datomic (34)
- # devcards (5)
- # editors (19)
- # emacs (4)
- # events (6)
- # funcool (55)
- # hoplon (5)
- # ldnclj (3)
- # lein-figwheel (1)
- # luminus (15)
- # om (159)
- # omnext (7)
- # onyx (107)
- # slack-help (2)
- # testing (3)
@spinningtopsofdoom: let me know if it works or not, should def. print minimal case in the failure case you pasted above
@spinningtopsofdoom: oh and are you aware that my fork uses boot so you need to install using boot? boot build-jar
maybe lein install
still works as well but I haven’t explicitly checked that
@martinklepsch: I cleaned the maven cache and reran the installs and I'm still missing the actions leading to failure. Here's my branch for this https://github.com/bendyworks/lean-map/tree/collection-test
Tests failed:
seed = 1448988800788
actions = (-> coll)
@spinningtopsofdoom: when tests are failing I get something like the above above all the FAIL
messagesHmmmm I'm running this in repl via Cursive, I'll try to get a minimal case for you.
@spinningtopsofdoom: I couldn't reproduce the "no test output" issue (well, it's not exactly "no output" what you were talking about, more precisely some output was missing). I set up lein-doo and ran the tests on phantom and on node 4.2.2, I always get something like:
Tests failed:
seed = 1448999945948
actions = (-> coll (assoc (cljs.core/with-meta [0] {:foo 0}) (cljs.core/with-meta [0] {:foo 0})))
ERROR in (assert-lean-map-core-map-like) (TypeError:NaN:NaN)
map-like
expected: (= (map (fn* [p1__11530#] (a p1__11530#)) ks) (map (fn* [p1__11531#] (b p1__11531#)) ks))
actual: #object[TypeError TypeError: a.call is not a function]
[...]
(there are 4 errors like that)I pushed the lein-doo setup to my doo
branch which is based on your collection-test
branch: https://github.com/nberger/lean-map/tree/doo
So @martinklepsch I couldn't reproduce the issue that I was thinking was being caused by test.chuck. Sorry for the noise
Cool thanks for confirming :)
@nberger: thanks for the double check I thought it was only on my end, I justs didn't know enohgh about the test internals to be sure
@dnolen I think I found the issue why I couldn't upgrade one of my CLojureScript apps that uses modules from 0.0-3308. We were talking about this some time ago on IRC. I hope I fixed it: http://dev.clojure.org/jira/browse/CLJS-1500
@dnolen: Ok, I hope I addressed your comments. No need for (map str)
, entries are symbols and work as you said. And I added back the one arity case. Also forgot to require set, had a stale REPL.