                                        :description "Test Desc"}))
         (p/markdown :meta {:markdown-set :metadata} :options {:extensions {:smarts true}})
         (testing "markdown"
-          (value-test :path "test.md"
-                      :value-fn #(meta= % :parsed parsed-md-smarts)
-                      :msg "`markdown` should set `:parsed` metadata on markdown file")
-          (content-test :path "test.html"
-                        :content parsed-md-smarts
-                        :msg "`markdown` should populate HTML file with parsed content"))
+          (comp
+           (value-test :path "test.md"
+                       :value-fn #(meta= % :parsed parsed-md-smarts)
+                       :msg "`markdown` should set `:parsed` metadata on markdown file")
+           (content-test :path "test.html"
+                         :content parsed-md-smarts
+                         :msg "`markdown` should populate HTML file with parsed content")))
 
         (p/ttr :filterer :markdown-set)
         (testing "ttr"

        (p/inject-scripts :scripts #{"test.js"} :filter #{#"foo"})
        (p/inject-scripts :scripts #{"test.js"} :remove #{#"baz"})
        (testing "inject-scripts"
          (content-test :path "bar/foo.html"
                        :content (str "<script>" js-content "</script>")
                        :msg "`inject-scripts` should alter the contents of a file")
          (content-test :path "baz.html"
                        :content (str "<script>" js-content "</script>")
                        :negate? true
                        :msg "`inject-scripts` should not alter the contents of a removed file"))))

(deftesttask content-tests []
  (comp (testing "Collection works without input files" ;; #77

        (add-txt-file :path "test2.md" :content md-content)
        (p/markdown)
        (testing "detecting new files"
          (comp
           (content-test :path "test2.html" :content parsed-md-basic)
           (value-test :path "test2.md" :value-fn #(meta= % :parsed parsed-md-basic))))))
