modules: Add support for direct version module imports in hugo.toml

Fixes #13964
This commit is contained in:
Bjørn Erik Pedersen
2025-09-05 08:00:39 +02:00
parent d8774d7fc3
commit 747cf4ad65
12 changed files with 562 additions and 84 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func TestPathKey(t *testing.T) {
{"github.com/foo/v3d", "github.com/foo/v3d"},
{"MyTheme", "mytheme"},
} {
c.Assert(pathKey(test.in), qt.Equals, test.expect)
c.Assert(pathBase(test.in), qt.Equals, test.expect)
}
}