diff options
| author | eltrac <hi@eltr.ac> | 2026-10-12 18:30:54 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-10-13 10:19:57 +0800 |
| commit | 218193590495485ca0addcd629118093c99fb777 (patch) | |
| tree | e718808684c6983446957499b8a92518f9ccfbbc /src | |
| parent | ed1cf74dfcd65185bdf400e67d9ab062ef5b55ae (diff) | |
test: add basic test suite for storage layer
also remove post-conditional assertion from edn-storage/use-store, since
tests have that covered
Diffstat (limited to 'src')
| -rw-r--r-- | src/weepinbell/storage/edn_storage.clj | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/weepinbell/storage/edn_storage.clj b/src/weepinbell/storage/edn_storage.clj index 42ddc71..042ff88 100644 --- a/src/weepinbell/storage/edn_storage.clj +++ b/src/weepinbell/storage/edn_storage.clj @@ -94,7 +94,6 @@ ;; make storage vtable (def file-exists? #(.exists (io/file %))) (defn use-store [datasource] - {:post [#(s/valid? :weepinbell.storage.spec/vtable %)]} (when (not (file-exists? datasource)) (io/make-parents datasource) (spit datasource "")) |
