From 2b01c85d14102353015cf6860d30be3d92964495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 8 Nov 2021 11:50:51 +0100 Subject: 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 --- create/content_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'create/content_test.go') 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 -- cgit v1.2.3