MCPcopy Create free account
hub / github.com/dagger/dagger / TestLocalWorkspaceAddress

Function TestLocalWorkspaceAddress

engine/server/session_test.go:662–667  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

660}
661
662func TestLocalWorkspaceAddress(t *testing.T) {
663 t.Parallel()
664
665 require.Equal(t, "file:///repo", localWorkspaceAddress("/repo", "."))
666 require.Equal(t, "file:///repo/services/payment", localWorkspaceAddress("/repo", "services/payment"))
667}
668
669func TestRemoteWorkspaceAddress(t *testing.T) {
670 t.Parallel()

Callers

nothing calls this directly

Calls 2

localWorkspaceAddressFunction · 0.85
EqualMethod · 0.65

Tested by

no test coverage detected