From e908d955d25cc5a2a5c783de4de569399773e23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 22 Jun 2017 20:30:01 +0200 Subject: create: Fix archetype regression when no archetype file Fixes #3626 --- create/content_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'create/content_test.go') diff --git a/create/content_test.go b/create/content_test.go index e8857baf2..bd7c34a1d 100644 --- a/create/content_test.go +++ b/create/content_test.go @@ -46,8 +46,8 @@ func TestNewContent(t *testing.T) { {"post", "post/sample-1.md", []string{`title = "Post Arch title"`, `test = "test1"`, "date = \"2015-01-12T19:20:04-07:00\""}}, {"post", "post/org-1.org", []string{`#+title: ORG-1`}}, {"emptydate", "post/sample-ed.md", []string{`title = "Empty Date Arch title"`, `test = "test1"`}}, - {"stump", "stump/sample-2.md", []string{`title = "Sample 2"`}}, // no archetype file - {"", "sample-3.md", []string{`title = "Sample 3"`}}, // no archetype + {"stump", "stump/sample-2.md", []string{`title: "Sample 2"`}}, // no archetype file + {"", "sample-3.md", []string{`title: "Sample 3"`}}, // no archetype {"product", "product/sample-4.md", []string{`title = "SAMPLE-4"`}}, // empty archetype front matter } -- cgit v1.2.3