We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa90fc4 commit 298255aCopy full SHA for 298255a
test/eca/features/rules_test.clj
@@ -37,7 +37,7 @@
37
fs/exists? (constantly true)
38
fs/list-dir (constantly [])
39
fs/canonicalize identity
40
- fs/file-name (fn [p] (last (string/split (str p) #"/")))
+ fs/file-name (fn [p] (last (string/split (str p) (re-pattern fs/file-separator))))
41
clojure.core/slurp (constantly "MY_RULE_CONTENT")]
42
(let [config {:rules [{:path ".foo/cool-rule.md"}]}
43
roots [{:uri (h/file-uri "file:///my/project")}]]
0 commit comments