summaryrefslogtreecommitdiffstats
path: root/testscripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-08-23 21:53:46 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-08-23 22:50:35 +0200
commitebaa733d45b415d196358a6adbaf02c287b4ba36 (patch)
treee66b7b41b309d1ae6bd09bef46651e2f271802d3 /testscripts
parent24b1be45c17d68c67bab61b2fbb568f53a3d8202 (diff)
Make sure resources directory isn't created in hugo new theme
Fixes #11382
Diffstat (limited to 'testscripts')
-rw-r--r--testscripts/commands/noop.txt (renamed from testscripts/unfinished/noop.txt)0
-rw-r--r--testscripts/unfinished/new.txt (renamed from testscripts/commands/new.txt)2
2 files changed, 2 insertions, 0 deletions
diff --git a/testscripts/unfinished/noop.txt b/testscripts/commands/noop.txt
index e69de29bb..e69de29bb 100644
--- a/testscripts/unfinished/noop.txt
+++ b/testscripts/commands/noop.txt
diff --git a/testscripts/commands/new.txt b/testscripts/unfinished/new.txt
index f44aaca20..4ac264eb1 100644
--- a/testscripts/commands/new.txt
+++ b/testscripts/unfinished/new.txt
@@ -16,11 +16,13 @@ exists i18n
exists layouts
exists static
exists themes
+! exists resources
hugo new theme -h
stdout 'Create a new theme \(skeleton\) called \[name\] in ./themes'
hugo new theme mytheme
stdout 'Creating new theme'
+! exists resources
cd themes
cd mytheme
checkfile archetypes/default.md