Resolve remote lifecycle landing conflicts

This commit is contained in:
Joe Julian
2026-03-29 13:35:07 -07:00
parent d05830335f
commit 17ff374be7
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -557,8 +557,8 @@ func TestUIRemoteSaveConflictShowsVisibleErrorAndKeepsDirtyState(t *testing.T) {
u.runAction("save vault", u.saveAction)
if got := u.errorMessage; !strings.Contains(got, "remote vault changed on the server") {
t.Fatalf("errorMessage = %q, want visible remote conflict guidance", got)
if got := u.errorMessage; got != "Save conflict: the remote vault changed. Reopen it and retry the save." {
t.Fatalf("errorMessage = %q, want normalized save conflict guidance", got)
}
if got := u.statusMessage; got != "" {
t.Fatalf("statusMessage = %q, want empty after remote save conflict", got)