Resolve remote lifecycle landing conflicts
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user