Skip to content

Commit d0fc5b8

Browse files
committed
* tweak sizes
1 parent 704bec2 commit d0fc5b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/clojure/cljs/build_api_tests.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@
718718
cenv (env/default-compiler-env)]
719719
(test/delete-out-files out)
720720
(build/build (build/inputs (io/file inputs "trivial/core.cljs")) opts cenv)
721-
(is (< (.length out-file) 10000))))
721+
(is (< (.length out-file) 10240))))
722722

723723
(deftest trivial-output-size-protocol
724724
(let [out (.getPath (io/file (test/tmp-dir) "trivial-output-protocol-test-out"))
@@ -731,7 +731,7 @@
731731
cenv (env/default-compiler-env)]
732732
(test/delete-out-files out)
733733
(build/build (build/inputs (io/file inputs "trivial/core2.cljs")) opts cenv)
734-
(is (< (.length out-file) 10000))))
734+
(is (< (.length out-file) 10240))))
735735

736736
(deftest trivial-output-size-keyword
737737
(let [out (.getPath (io/file (test/tmp-dir) "trivial-output-keyword-test-out"))
@@ -744,7 +744,7 @@
744744
cenv (env/default-compiler-env)]
745745
(test/delete-out-files out)
746746
(build/build (build/inputs (io/file inputs "trivial/core3.cljs")) opts cenv)
747-
(is (< (.length out-file) 10000))))
747+
(is (< (.length out-file) 10240))))
748748

749749
(deftest trivial-output-size-vector
750750
(let [out (.getPath (io/file (test/tmp-dir) "trivial-output-vector-test-out"))
@@ -757,7 +757,7 @@
757757
cenv (env/default-compiler-env)]
758758
(test/delete-out-files out)
759759
(build/build (build/inputs (io/file inputs "trivial/core4.cljs")) opts cenv)
760-
(is (< (.length out-file) 32000))))
760+
(is (< (.length out-file) 32768))))
761761

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

0 commit comments

Comments
 (0)