-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: change path to
src/content
to match astro v2 conent collections
- Loading branch information
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,12 @@ func TestSanitizer(t *testing.T) { | |
arg string | ||
expected string | ||
}{ | ||
{"pages/posts.md", "Posts"}, | ||
{"pages/posts-1.md", "Posts 1"}, | ||
{"pages/posts_2.md", "Posts 2"}, | ||
{"pages/[email protected]", "Posts 3"}, | ||
{"pages/[email protected]", "Posts blog 4"}, | ||
{"pages/posts_blog@/4.md", "4"}, | ||
{"content/posts.md", "Posts"}, | ||
{"content/posts-1.md", "Posts 1"}, | ||
{"content/posts_2.md", "Posts 2"}, | ||
{"content/[email protected]", "Posts 3"}, | ||
{"content/[email protected]", "Posts blog 4"}, | ||
{"content/posts_blog@/4.md", "4"}, | ||
} | ||
|
||
for _, tc := range cases { | ||
|