fixed a test
This commit is contained in:
parent
be796c16bf
commit
3f30afcdcb
1 changed files with 7 additions and 7 deletions
|
@ -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 (=
|
||||
|
|
Loading…
Reference in a new issue