diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-11-08 11:50:51 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-11-08 14:10:46 +0100 |
commit | 2b01c85d14102353015cf6860d30be3d92964495 (patch) | |
tree | de5dbb36e0dcb6478d920af8ae94884d6571af06 /create/content_test.go | |
parent | c09f5c5fd35c03de0444928ada3ce1c5a214b321 (diff) | |
download | hugo-2b01c85d14102353015cf6860d30be3d92964495.tar.gz hugo-2b01c85d14102353015cf6860d30be3d92964495.zip |
Fix path resolution in hugo new
With theme and project with content directories and command on the form `hugo new posts/test.md`.
Fixes #9129
Diffstat (limited to 'create/content_test.go')
-rw-r--r-- | create/content_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create/content_test.go b/create/content_test.go index 6f0ed8c86..2d68f7610 100644 --- a/create/content_test.go +++ b/create/content_test.go @@ -35,7 +35,7 @@ import ( ) // TODO(bep) clean this up. Export the test site builder in Hugolib or something. -func TestNewContent(t *testing.T) { +func TestNewContentFromFile(t *testing.T) { cases := []struct { name string kind string |