File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 396
396
(ana/with-warning-handlers [(collecting-warning-handler ws)]
397
397
(build/build (build/inputs (io/file inputs " emit_global_requires_test/core.cljs" )) opts cenv))
398
398
(is (.exists (io/file out " emit_global_requires_test/core.js" )))
399
- (is (true ? (boolean (re-find #"emit_global_requires_test\. core\. global\$ module\$ react_dom\$ server = goog\. global\. ReactDOMServer;"
399
+ (is (true ? (boolean (re-find #"emit_global_requires_test\. core\. global\$ module\$ react_dom\$ server = goog\. global\[\" ReactDOMServer\"\] ;"
400
400
(slurp (io/file out " emit_global_requires_test/core.js" ))))))
401
401
(is (true ? (boolean (re-find #"emit_global_requires_test\. core\. global\$ module\$ react_dom\$ server\. renderToString"
402
402
(slurp (io/file out " emit_global_requires_test/core.js" ))))))
Original file line number Diff line number Diff line change 1088
1088
:eval node-eval}
1089
1089
(fn [{:keys [error value] :as m}]
1090
1090
(is (nil? error))
1091
- (is (some? (re-find #"foo\. core\. global\$ module\$ calculator = goog.global. Calculator;" value)))
1091
+ (is (some? (re-find #"foo\. core\. global\$ module\$ calculator = goog.global\[\" Calculator\"\] ;" value)))
1092
1092
(inc! l)))
1093
1093
(cljs/eval-str
1094
1094
(atom @st)
1166
1166
:load calculator-load
1167
1167
:eval identity}
1168
1168
(fn [{{:keys [source]} :value }]
1169
- (is (some? (re-find #"foo\. core\. global\$ module\$ calculator = goog.global. Calculator;\s null;" source)))
1169
+ (is (some? (re-find #"foo\. core\. global\$ module\$ calculator = goog.global\[\" Calculator\"\] ;\s null;" source)))
1170
1170
(inc! l)))))))
1171
1171
1172
1172
(deftest test-cljs-2261
You can’t perform that action at this time.
0 commit comments