MCPcopy
hub / github.com/opentofu/opentofu / testModule

Function testModule

internal/tofu/opentf_test.go:50–54  ·  view source on GitHub ↗
(t testing.TB, name string)

Source from the content-addressed store, hash-verified

48}
49
50func testModule(t testing.TB, name string) *configs.Config {
51 t.Helper()
52 c, _ := testModuleWithSnapshot(t, name)
53 return c
54}
55
56func testModuleWithSnapshot(t testing.TB, name string) (*configs.Config, *configload.Snapshot) {
57 t.Helper()

Calls 1

testModuleWithSnapshotFunction · 0.70

Tested by

no test coverage detected