Skip to content

Commit 4c79816

Browse files
committed
Fix windows tests
1 parent 1c2e208 commit 4c79816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/eca/features/context_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,14 @@
331331
(with-redefs [llm-api/refine-file-context (constantly "Some content")]
332332
(is (match?
333333
[{:type :file
334-
:path (h/file-path "/path/to/file")
334+
:path "/path/to/file"
335335
:content "Some content"}]
336336
(f.context/contexts-str-from-prompt "check @/path/to/file" (h/db))))))
337337
(testing "Context mention with lines range"
338338
(with-redefs [llm-api/refine-file-context (constantly "Some content")]
339339
(is (match?
340340
[{:type :file
341-
:path (h/file-path "/path/to/file")
341+
:path "/path/to/file"
342342
:partial true
343343
:content "Some content"}]
344344
(f.context/contexts-str-from-prompt "check @/path/to/file:L1-L4" (h/db)))))))

0 commit comments

Comments
 (0)