Skip to content

Commit cc88daa

Browse files
committed
note quite 32K
1 parent 66276a4 commit cc88daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/clojure/cljs/build_api_tests.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@
805805
(is (< (.length out-file) 32768)))))
806806

807807
(deftest lite-mode-api-code-size-ratchet
808-
(testing ":lite-mode + :elide-to-string, typical cljs.core api usage < 32K"
808+
(testing ":lite-mode + :elide-to-string, typical cljs.core api usage ~32K"
809809
(let [out (.getPath (io/file (test/tmp-dir) "trivial-output-map-test-out"))
810810
out-file (io/file out "main.js")
811811
{:keys [inputs opts]} {:inputs (str (io/file "src" "test" "cljs_build"))
@@ -818,7 +818,7 @@
818818
cenv (env/default-compiler-env)]
819819
(test/delete-out-files out)
820820
(build/build (build/inputs (io/file inputs "trivial/core6.cljs")) opts cenv)
821-
(is (< (.length out-file) 32768)))))
821+
(is (< (.length out-file) 34000)))))
822822

823823
(deftest cljs-3255-nil-inputs-build
824824
(let [out (.getPath (io/file (test/tmp-dir) "3255-test-out"))

0 commit comments

Comments
 (0)