MCPcopy Create free account
hub / github.com/cloudflare/artifact-fs / assertPathMissing

Function assertPathMissing

e2e_git_test.go:531–536  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

529 "commit", "-m", "commit staged readme change",
530 )
531
532 waitForHeadAndStatus(t, repo.mountPath, preCommitHEAD, map[string]string{"README.md": " M"})
533 if got := readFileStr(t, readmePath); got != worktree {
534 t.Fatalf("README.md worktree content = %q", got)
535 }
536 if headReadme := gitCmd(t, repo.mountPath, "show", "HEAD:README.md"); headReadme != staged {
537 t.Fatalf("HEAD README.md = %q, want staged content", headReadme)
538 }
539}

Calls

no outgoing calls

Tested by

no test coverage detected