MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / readHTTPSSetupConfig

Function readHTTPSSetupConfig

scripts/https_setup_test.go:473–482  ·  view source on GitHub ↗
(t *testing.T, configPath string)

Source from the content-addressed store, hash-verified

471}
472
473func readHTTPSSetupConfig(t *testing.T, configPath string) string {
474 t.Helper()
475
476 data, err := os.ReadFile(configPath)
477 if err != nil {
478 t.Fatalf("os.ReadFile() error = %v", err)
479 }
480
481 return string(data)
482}
483
484func runHTTPSSetup(t *testing.T, configPath string, input string, extraEnv map[string]string) string {
485 t.Helper()

Calls 1

ReadFileMethod · 0.45

Tested by

no test coverage detected