From ecf3caa251df1e4a53310a1b8ba4edff56e30db9 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Fri, 31 Jan 2020 17:29:13 +0100 Subject: [PATCH] Test for uberscript --- test/babashka/classpath_test.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/babashka/classpath_test.clj b/test/babashka/classpath_test.clj index 95fcc56b..733cf2e0 100644 --- a/test/babashka/classpath_test.clj +++ b/test/babashka/classpath_test.clj @@ -33,7 +33,7 @@ (deftest uberscript-test (let [tmp-file (java.io.File/createTempFile "uberscript" ".clj")] (.deleteOnExit tmp-file) - (tu/bb nil "--classpath" "test-resources/babashka/src_for_classpath_test" "-m" "my.main" "--uberscript" (.getPath tmp-file)) + (is (empty? (tu/bb nil "--classpath" "test-resources/babashka/src_for_classpath_test" "-m" "my.main" "--uberscript" (.getPath tmp-file)))) (is (= "(\"1\" \"2\" \"3\" \"4\")\n" (tu/bb nil "--file" (.getPath tmp-file) "1" "2" "3" "4")))))