Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/git-service/test/refProvider.listing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ test("getHead over a .git git cannot read fails with git's reason rather than ca
writeFileSync(join(dir, ".git"), "gitdir: ./nowhere\n");
const proc = new GitProcess({ cwd: dir });
try {
await assert.rejects(new RefProvider(proc).getHead(), /not a git repository/);
await assert.rejects(new RefProvider(proc).getHead(), /not a git repository|does not point to a valid repository/);
} finally {
proc.dispose();
}
Expand Down
Loading