From 3cdf7d76ce1a8c0c3792844a82bce50bef903426 Mon Sep 17 00:00:00 2001 From: lread Date: Fri, 26 Jul 2024 18:03:59 -0400 Subject: [PATCH] Fix for testing from babashka project Can't tell you how I missed undoing a check against absolutized version of an exe, but glad babashka CI didn't miss it! Addendum for #165 --- test/babashka/process_exec_test.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/babashka/process_exec_test.clj b/test/babashka/process_exec_test.clj index 7687950..f948990 100644 --- a/test/babashka/process_exec_test.clj +++ b/test/babashka/process_exec_test.clj @@ -159,9 +159,7 @@ (deftest pre-start-fn-test ;; shows that pre-start-fn is active and that executable is resolved (when-let [bb (u/find-bb)] - (is (= {:out (u/ols (format "Pre-start-fn output {:cmd [%s %s :out foobar]}\nfoobar\n" - (-> bb fs/which fs/absolutize fs/normalize) - u/wd)) + (is (= {:out (u/ols (format "Pre-start-fn output {:cmd [%s %s :out foobar]}\nfoobar\n" (fs/which bb) u/wd)) :err "" :exit 0 } ;; runner will always used a canned pre-start-fn, this should excercise the feature