mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
modules: Make the module.workspace=off as default (note)
Also, resolve any workspace file relative to the workingDir. Fixes #10553
This commit is contained in:
@@ -206,6 +206,7 @@ func TestMultiSitesBuild(t *testing.T) {
|
||||
{multiSiteYAMLConfigTemplate, "yml"},
|
||||
{multiSiteJSONConfigTemplate, "json"},
|
||||
} {
|
||||
config := config
|
||||
t.Run(config.suffix, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
doTestMultiSitesBuild(t, config.content, config.suffix)
|
||||
|
@@ -63,6 +63,7 @@ func TestPermalink(t *testing.T) {
|
||||
}
|
||||
|
||||
for i, test := range tests {
|
||||
i := i
|
||||
test := test
|
||||
t.Run(fmt.Sprintf("%s-%d", test.file, i), func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
Reference in New Issue
Block a user