summaryrefslogtreecommitdiffstats
path: root/testscripts/commands/mod__disable.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testscripts/commands/mod__disable.txt')
-rw-r--r--testscripts/commands/mod__disable.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/testscripts/commands/mod__disable.txt b/testscripts/commands/mod__disable.txt
new file mode 100644
index 000000000..f2d65dd0c
--- /dev/null
+++ b/testscripts/commands/mod__disable.txt
@@ -0,0 +1,15 @@
+hugo mod graph
+stdout 'withhugotoml.*commonmod'
+
+-- hugo.toml --
+title = "Hugo Modules Test"
+[module]
+[[module.imports]]
+path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml"
+disable = true
+[[module.imports]]
+path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml"
+-- go.mod --
+module foo
+go 1.19
+