Debian Codegraph @

testscripts/commands/mod_init.txt

raw
1 # Test the hugo init command.
2
3 hugo mod init testsubmod
4 cmpenv go.mod $WORK/golden/go.mod.testsubmod
5
6 -- hugo.toml --
7 title = "Hugo Modules Test"
8 [module]
9 [[module.imports]]
10 path="github.com/bep/empty-hugo-module"
11 -- golden/go.mod.testsubmod --
12 module testsubmod
13
14 go ${GOMODVERSION}