aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts/commands/warnf_stderr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testscripts/commands/warnf_stderr.txt')
-rw-r--r--testscripts/commands/warnf_stderr.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/testscripts/commands/warnf_stderr.txt b/testscripts/commands/warnf_stderr.txt
new file mode 100644
index 000000000..f899253c5
--- /dev/null
+++ b/testscripts/commands/warnf_stderr.txt
@@ -0,0 +1,13 @@
+# Issue #13074
+
+hugo
+stderr 'warning'
+! stdout 'warning'
+
+-- hugo.toml --
+baseURL = "http://example.org/"
+disableKinds = ["RSS", "page", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
+-- layouts/index.html --
+Home
+{{ warnf "This is a warning" }}
+