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

Function TestCFileTemplateErrorHandling

internal/extgen/cfile_test.go:452–461  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

450}
451
452func TestCFileTemplateErrorHandling(t *testing.T) {
453 generator := &Generator{
454 BaseName: "error_test",
455 }
456
457 cGen := cFileGenerator{generator}
458
459 _, err := cGen.getTemplateContent()
460 assert.NoError(t, err, "getTemplateContent() should not fail with valid template")
461}
462
463func TestEscapeCString(t *testing.T) {
464 tests := []struct {

Callers

nothing calls this directly

Calls 1

getTemplateContentMethod · 0.95

Tested by

no test coverage detected