fixed a test

This commit is contained in:
lukas 2020-01-17 13:57:37 +01:00
parent be796c16bf
commit 3f30afcdcb

View file

@ -101,13 +101,13 @@
"" "templates/themes/bootstrap4-test" ["."]))))))
(deftest test-distinct-resources-by-path
(is (= [{:path "pages/test"}
{:path "pages/test1"}
{:path "pages/test2"}]
(sut/distinct-resources-by-path [{:path "pages/test"}
{:path "pages/test1"}
{:path "pages/test2"}
{:path "pages/test1"}]))))
(is (= [{:short-path "pages/test"}
{:short-path "pages/test1"}
{:short-path "pages/test2"}]
(sut/distinct-resources-by-path [{:short-path "pages/test"}
{:short-path "pages/test1"}
{:short-path "pages/test2"}
{:short-path "pages/test1"}]))))
(deftest test-filter-for-ignore-patterns
(is (=