mirror of
https://github.com/logseq/logseq.git
synced 2026-05-22 11:44:10 +00:00
10 lines
304 B
Clojure
10 lines
304 B
Clojure
(ns logseq.cli.e2e.paths-test
|
|
(:require [clojure.test :refer [deftest is]]
|
|
[logseq.cli.e2e.paths :as paths]))
|
|
|
|
(deftest repo-root-does-not-depend-on-runtime-file-binding
|
|
(let [expected (paths/repo-root)]
|
|
(binding [*file* nil]
|
|
(is (= expected
|
|
(paths/repo-root))))))
|