Skip to content

Commit c507fd1

Browse files
committed
test(server): unborn worktree failure names main's branch-creation step
1 parent 161ad13 commit c507fd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/vcs/GitVcsDriverCore.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ it.effect.each(["bare", "unborn"] as const)(
532532
.pipe(Effect.result);
533533
assert.equal(Result.isSuccess(result), state === "bare");
534534
if (Result.isFailure(result)) {
535-
assert.equal(result.failure.operation, "GitVcsDriver.createWorktree");
535+
assert.equal(result.failure.operation, "GitVcsDriver.createWorktree.createBranch");
536536
assert.equal(result.failure.detail, "git worktree add failed");
537537
}
538538
assert.equal(spawnedArgs.filter((args) => args.includes("--git-common-dir")).length, 1);

0 commit comments

Comments
 (0)