File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
cljs_build/cljs_3311_regress Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ (ns cljs-3311-regress.core
2
+ (:require [cljs.test :refer-macros [run-tests]]
3
+ [cljs-3311-regress.tests]))
4
+
5
+ (run-tests 'cljs-3311-regress.tests)
Original file line number Diff line number Diff line change
1
+ (ns cljs-3311-regress.tests
2
+ (:require [cljs.test :refer [deftest is]]))
3
+
4
+ (deftest some-test
5
+ (is (= 1 1 )))
Original file line number Diff line number Diff line change 782
782
(ana/with-warning-handlers [(collecting-warning-handler ws)]
783
783
(build/build (build/inputs (io/file inputs " cljs_3284/core.cljs" )) opts cenv))
784
784
(is (empty? @ws)))))
785
+
786
+ (deftest test-cljs-3311-regress
787
+ (testing " Test that CLJS-3311 did not regress"
788
+ (let [ws (atom [])
789
+ out (.getPath (io/file (test/tmp-dir ) " cljs-3311-regress-out" ))
790
+ {:keys [inputs opts]} {:inputs (str (io/file " src" " test" " cljs_build" ))
791
+ :opts {:main 'cljs-3311-regress.core
792
+ :output-dir out
793
+ :optimizations :none }}
794
+ cenv (env/default-compiler-env opts )]
795
+ (test/delete-out-files out)
796
+ (ana/with-warning-handlers [(collecting-warning-handler ws)]
797
+ (build/build (build/inputs (io/file inputs " cljs_3311_regress/core.cljs" )) opts cenv))
798
+ (is (empty? @ws)))))
You can’t perform that action at this time.
0 commit comments