X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/feda522eba3e2a27c91741c77d0d01f1840c0004..84fc815feb485b35eec53a8c7863c6770fc65e02:/view_test.go?ds=inline diff --git a/view_test.go b/view_test.go index 2900860..201483e 100644 --- a/view_test.go +++ b/view_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" ) -func TestViewMergesInTheOrderOfTaelinsPush(t *testing.T) { +func TestViewMergesInTheOrderOfTheRollbackPush(t *testing.T) { tree := builtTree{} view := newView(0, 0) var states *pushEntry @@ -141,8 +141,8 @@ func TestRestoreViewRejectsAGap(t *testing.T) { require.ErrorContains(t, err, "does not start at message 1") } -// pushEntry is one entry of Taelin's rollback state list, newest first. Under -// push alone, life stays 0, so the entry leaves it out. +// pushEntry is one entry of the rollback state list of the reference design, +// newest first. Under push alone, life stays 0, so the entry leaves it out. type pushEntry struct { keep bool state int