MCPcopy Index your code
hub / github.com/jetify-com/devbox / TestWriteDevboxShellrc

Function TestWriteDevboxShellrc

internal/devbox/shell_test.go:28–34  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26var updateFlag = flag.Bool("update", false, "update the golden files with the test results")
27
28func TestWriteDevboxShellrc(t *testing.T) {
29 testdirs, err := filepath.Glob("testdata/shellrc/*")
30 if err != nil {
31 t.Fatal("Error globbing testdata:", err)
32 }
33 testWriteDevboxShellrc(t, testdirs)
34}
35
36func testWriteDevboxShellrc(t *testing.T, testdirs []string) {
37 projectDir := "/path/to/projectDir"

Callers

nothing calls this directly

Calls 1

testWriteDevboxShellrcFunction · 0.85

Tested by

no test coverage detected