Skip to content

Commit

Permalink
Fix ert tslug tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Mar 17, 2022
1 parent ed7d670 commit 8229bb2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/ert/tslug.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"Test slug when EXPORT_HUGO_SLUG is set."
;; EXPORT_FILE_NAME + EXPORT_HUGO_SLUG
(should
(string= "slug"
(string= "posts/slug"
(org-test-with-parsed-data
"* Some Heading<point>
:PROPERTIES:
Expand Down Expand Up @@ -77,7 +77,7 @@

;; Only EXPORT_FILE_NAME
(should
(string= "file"
(string= "posts/file"
(org-test-with-parsed-data
"* Some Heading<point>
:PROPERTIES:
Expand Down Expand Up @@ -105,7 +105,7 @@
(ert-deftest test-slug/leaf-bundles ()
"Test derivation of the slug leaf bundles."
(should
(string= "leaf"
(string= "posts/leaf"
(org-test-with-parsed-data
"* Some Heading<point>
:PROPERTIES:
Expand Down Expand Up @@ -134,7 +134,7 @@
;; Branch bundles
(ert-deftest test-slug/branch-bundles ()
(should
(string= "branch"
(string= "posts/branch"
(org-test-with-parsed-data
"* Some Heading<point>
:PROPERTIES:
Expand All @@ -146,7 +146,7 @@

;; Inherit :EXPORT_HUGO_BUNDLE
(should
(string= "branch"
(string= "posts/branch"
(org-test-with-parsed-data
"* Branch bundle
:PROPERTIES:
Expand All @@ -161,7 +161,7 @@

;; Page in branch bundle, inheritance
(should
(string= "branch/branch-page"
(string= "posts/branch/branch-page"
(org-test-with-parsed-data
"* Branch bundle
:PROPERTIES:
Expand Down

0 comments on commit 8229bb2

Please sign in to comment.