mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-27 00:51:32 +00:00
3521e8b1e5
Updated the test cases in TestReplaceExtension to reflect the intent of ReplaceExtension which is to accept a path and return only the file name with a new extension. It's intentionally designed to strip out the path and only provide the filename Additional test cases have been added to both TestFilename and TestFileAndExt to clarify behaviour with relative paths. |
||
---|---|---|
.. | ||
content.go | ||
general.go | ||
general_test.go | ||
path.go | ||
path_test.go | ||
pygments.go | ||
url.go | ||
url_test.go |