Compare commits
1 Commits
5b0b131a18
...
28d3828d6c
| Author | SHA1 | Date | |
|---|---|---|---|
| 28d3828d6c |
@@ -30,7 +30,6 @@ in mkCljBin' {
|
|||||||
];
|
];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
babashka
|
babashka
|
||||||
breakpointHook
|
|
||||||
];
|
];
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
doerg-parser
|
doerg-parser
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
(defn test-db-fixture [f]
|
(defn test-db-fixture [f]
|
||||||
(let [db-file (-> publisher-cfg/*cfg* ::publisher/org-roam-db-path)]
|
(let [db-file (-> publisher-cfg/*cfg* ::publisher/org-roam-db-path)]
|
||||||
(assert (->> db-file fs/canonicalize str
|
(assert (->> db-file fs/canonicalize str
|
||||||
(re-matches #"^/(build|tmp)/"))
|
(re-matches #"^/(build|tmp)/.*"))
|
||||||
(format "i'm scared to delete a non-test database... %s"
|
(format "i'm scared to delete a non-test database... %s"
|
||||||
(str db-file)))
|
(str db-file)))
|
||||||
(fs/delete-if-exists db-file)
|
(fs/delete-if-exists db-file)
|
||||||
|
|||||||
Reference in New Issue
Block a user