|
718 | 718 | cenv (env/default-compiler-env)] |
719 | 719 | (test/delete-out-files out) |
720 | 720 | (build/build (build/inputs (io/file inputs "trivial/core.cljs")) opts cenv) |
721 | | - (is (< (.length out-file) 10000)))) |
| 721 | + (is (< (.length out-file) 10240)))) |
722 | 722 |
|
723 | 723 | (deftest trivial-output-size-protocol |
724 | 724 | (let [out (.getPath (io/file (test/tmp-dir) "trivial-output-protocol-test-out")) |
|
731 | 731 | cenv (env/default-compiler-env)] |
732 | 732 | (test/delete-out-files out) |
733 | 733 | (build/build (build/inputs (io/file inputs "trivial/core2.cljs")) opts cenv) |
734 | | - (is (< (.length out-file) 10000)))) |
| 734 | + (is (< (.length out-file) 10240)))) |
735 | 735 |
|
736 | 736 | (deftest trivial-output-size-keyword |
737 | 737 | (let [out (.getPath (io/file (test/tmp-dir) "trivial-output-keyword-test-out")) |
|
744 | 744 | cenv (env/default-compiler-env)] |
745 | 745 | (test/delete-out-files out) |
746 | 746 | (build/build (build/inputs (io/file inputs "trivial/core3.cljs")) opts cenv) |
747 | | - (is (< (.length out-file) 10000)))) |
| 747 | + (is (< (.length out-file) 10240)))) |
748 | 748 |
|
749 | 749 | (deftest trivial-output-size-vector |
750 | 750 | (let [out (.getPath (io/file (test/tmp-dir) "trivial-output-vector-test-out")) |
|
757 | 757 | cenv (env/default-compiler-env)] |
758 | 758 | (test/delete-out-files out) |
759 | 759 | (build/build (build/inputs (io/file inputs "trivial/core4.cljs")) opts cenv) |
760 | | - (is (< (.length out-file) 32000)))) |
| 760 | + (is (< (.length out-file) 32768)))) |
761 | 761 |
|
762 | 762 | (deftest cljs-3255-nil-inputs-build |
763 | 763 | (let [out (.getPath (io/file (test/tmp-dir) "3255-test-out")) |
|
0 commit comments