# Test the hugo init command.

hugo mod init testsubmod
cmpenv go.mod $WORK/golden/go.mod.testsubmod

-- hugo.toml --
title = "Hugo Modules Test"
[module]
[[module.imports]]
path="github.com/bep/empty-hugo-module"
-- golden/go.mod.testsubmod --
module testsubmod

go ${GOMODVERSION}