test: x-caddy extension parsing

This commit is contained in:
Pasha Sviderski committed 2025-08-13 13:45:39 +10:00
1 parent c67127f83f
commit 879c7c1876
4 files changed
+142 -9

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ func loadProjectFromContent(t *testing.T, content string) (*types.Project, error
if o.KnownExtensions == nil {
o.KnownExtensions = map[string]any{}
}
o.KnownExtensions[CaddyExtensionKey] = Caddy{}
o.KnownExtensions[PortsExtensionKey] = PortsSource{}
o.KnownExtensions[MachinesExtensionKey] = MachinesSource{}
})