From 4f17cff025dcd750609cc010fa3d3c5d6ae9d887 Mon Sep 17 00:00:00 2001 From: Josh Glover Date: Thu, 15 Feb 2024 15:06:42 +0100 Subject: [PATCH] Clean up rebase fail in test file --- test/quickblog/api_test.clj | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/quickblog/api_test.clj b/test/quickblog/api_test.clj index c112dec..58b267f 100644 --- a/test/quickblog/api_test.clj +++ b/test/quickblog/api_test.clj @@ -363,7 +363,6 @@ ;; Should rewrite all but metadata-cached files when post modified (Thread/sleep 5) (write-test-post posts-dir) - (Thread/sleep 500) (render) (doseq [[filename mtime] content-cached] (is (not= (map str [filename mtime]) @@ -374,19 +373,6 @@ ;; Should rewrite everything when metadata modified (Thread/sleep 5) (write-test-post posts-dir {:title "Changed", :tags #{"not-clojure"}}) - (println "Posts:" (map str (fs/glob posts-dir "**"))) - (Thread/sleep 500) - (write-test-post posts-dir) - (render) - (doseq [[filename mtime] content-cached] - (is (not= (map str [filename mtime]) - (map str [filename (fs/last-modified-time filename)])))) - (doseq [[filename mtime] clojure-metadata-cached] - (is (= (map str [filename mtime]) - (map str [filename (fs/last-modified-time filename)])))) - ;; Should rewrite everything when metadata modified - (Thread/sleep 500) - (write-test-post posts-dir {:title "Changed", :tags #{"not-clojure"}}) (render) (doseq [[filename mtime] (merge content-cached metadata-cached)] (is (not= (map str [filename mtime])