MCPcopy Create free account
hub / github.com/php/frankenphp / TestHeaderGenerator_TemplateErrorHandling

Function TestHeaderGenerator_TemplateErrorHandling

internal/extgen/hfile_test.go:235–241  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

233}
234
235func TestHeaderGenerator_TemplateErrorHandling(t *testing.T) {
236 generator := &Generator{BaseName: "error_test"}
237 headerGen := HeaderGenerator{generator}
238
239 _, err := headerGen.buildContent()
240 assert.NoError(t, err, "buildContent() should not fail with valid template")
241}
242
243func TestHeaderGenerator_GuardConsistency(t *testing.T) {
244 baseName := "test_consistency"

Callers

nothing calls this directly

Calls 1

buildContentMethod · 0.95

Tested by

no test coverage detected