Skip to content

Commit

Permalink
Add some debug prints for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jmglov committed Feb 15, 2024
1 parent 356e28b commit e1ee9eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/quickblog/api_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

(use-fixtures :each
(fn [test-fn]
(with-out-str
(test-fn)
(fs/delete-tree test-dir))))
#_(with-out-str)
(test-fn)
(fs/delete-tree test-dir)))

(defn- tmp-dir [dir-name]
(fs/file test-dir
Expand Down Expand Up @@ -373,6 +373,7 @@
(map str [filename (fs/last-modified-time filename)]))))
;; Should rewrite everything when metadata modified
(write-test-post posts-dir {:title "Changed", :tags #{"not-clojure"}})
(println "Posts:" (map str (fs/glob posts-dir "**")))
(Thread/sleep 500)
(render)
(doseq [[filename mtime] (merge content-cached metadata-cached)]
Expand Down

0 comments on commit e1ee9eb

Please sign in to comment.