From 9ae36491b7193e85637a07879237632beb0e8e49 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 28 Sep 2023 15:27:03 +0200 Subject: [PATCH] Fix test --- test/babashka/impl/nrepl_server_test.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/babashka/impl/nrepl_server_test.clj b/test/babashka/impl/nrepl_server_test.clj index 0fdecb89..05aa557a 100644 --- a/test/babashka/impl/nrepl_server_test.clj +++ b/test/babashka/impl/nrepl_server_test.clj @@ -196,7 +196,9 @@ (let [reply (read-reply in session @id)] (is (= "true" (:value reply))))) (testing "classpath op" - (cp/add-classpath "src:test") + (bencode/write-bencode os {"op" "eval" "code" "(babashka.classpath/add-classpath \"test-resources/babashka/src_for_classpath_test\")" + "session" session "id" (new-id!)}) + (read-reply in session @id) (bencode/write-bencode os {"op" "classpath" "session" session "id" (new-id!)}) (let [reply (read-reply in session @id)