summaryrefslogtreecommitdiffstats
path: root/testscripts/commands
diff options
context:
space:
mode:
authorJoe Mooring <joe.mooring@veriphor.com>2023-06-24 08:45:53 -0700
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-24 20:26:54 +0200
commit019299b0b0bb60355c41ad5364b631f18e7d21ae (patch)
tree9f993e7fe66e3ad1a91ffe9e0f5bc972d5f8b24c /testscripts/commands
parent23ed087c4e5cfad4b8ee9f4420b69182255043e0 (diff)
commands: Enable format flag with hugo new site
Fixes #11155
Diffstat (limited to 'testscripts/commands')
-rw-r--r--testscripts/commands/new.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/testscripts/commands/new.txt b/testscripts/commands/new.txt
index aad0d80f6..92cc3b7da 100644
--- a/testscripts/commands/new.txt
+++ b/testscripts/commands/new.txt
@@ -2,6 +2,8 @@
hugo new site -h
stdout 'Create a new site in the provided directory'
+hugo new site my-yaml-site --format yml
+checkfile my-yaml-site/hugo.yml
hugo new site mysite -f
stdout 'Congratulations! Your new Hugo site is created in'
cd mysite
@@ -45,6 +47,3 @@ draft: true
---
Dummy content.
-
-
-