File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 9
9
:npm-deps {:lodash " 4.17.4" }
10
10
:closure-warnings {:non-standard-jsdoc :off :global-this :off }
11
11
:install-deps true
12
+ :target :nodejs
12
13
:language-out :es5
13
14
:foreign-libs
14
15
[{:file " src/test/cljs/calculator_global.js"
Original file line number Diff line number Diff line change @@ -12991,7 +12991,7 @@ reduces them without incurring seq initialization"
12991
12991
12992
12992
ICollection
12993
12993
(-conj [coll o]
12994
- (Set. meta (assoc hash-map o nil ) nil ))
12994
+ (Set. meta (assoc hash-map o o ) nil ))
12995
12995
12996
12996
IEmptyableCollection
12997
12997
(-empty [coll] (with-meta (. Set -EMPTY) meta))
@@ -13025,7 +13025,7 @@ reduces them without incurring seq initialization"
13025
13025
(-lookup coll v nil ))
13026
13026
(-lookup [coll v not-found]
13027
13027
(if (-contains-key? hash-map v)
13028
- v
13028
+ ( -lookup hash-map v)
13029
13029
not-found))
13030
13030
13031
13031
ISet
Original file line number Diff line number Diff line change 1127
1127
(next (chunk-cons (chunk b) nil ))))))
1128
1128
1129
1129
(deftest test-cljs-3124
1130
- (let [t (assoc! (transient []) 0 1 )]
1131
- (persistent! t)
1132
- (is (= :fail (try (get t :a :not-found ) (catch js/Error e :fail ))))))
1130
+ ; ; Doesn't work under :lite-mode because there are not
1131
+ ; ; separate transient types for now
1132
+ (when-not ^boolean LITE_MODE
1133
+ (let [t (assoc! (transient []) 0 1 )]
1134
+ (persistent! t)
1135
+ (is (= :fail (try (get t :a :not-found ) (catch js/Error e :fail )))))))
1133
1136
1134
1137
(deftest test-cljs-3317
1135
1138
(testing " persistent vector invoke matches clojure"
Original file line number Diff line number Diff line change 14
14
[cljs.new-new-test]
15
15
[cljs.printing-test]
16
16
[cljs.seqs-test]
17
- ; ; [cljs.collections-test]
17
+ [cljs.collections-test]
18
18
[cljs.hashing-test]
19
19
[cljs.core-test]
20
20
; ; [cljs.chunked-seq] ;; doesn't exist in :lite-mode
78
78
'cljs.printing-test
79
79
'cljs.new-new-test
80
80
'cljs.seqs-test
81
+ 'cljs.collections-test
81
82
'cljs.hashing-test
82
83
'cljs.core-test
83
84
'cljs.interop-test ; ; ES6 stuff
You can’t perform that action at this time.
0 commit comments