]> git.giacomolli.uk - onechat/blobdiff - view_test.go
Send the replies to Telegram with their formats
[onechat] / view_test.go
index 29008600c39dc70ad411e2b7b42f1a2f73c2be1b..201483e8c79d966d6782aa5a7c0ced7dca96d02a 100644 (file)
@@ -8,7 +8,7 @@ import (
        "github.com/stretchr/testify/require"
 )
 
        "github.com/stretchr/testify/require"
 )
 
-func TestViewMergesInTheOrderOfTaelinsPush(t *testing.T) {
+func TestViewMergesInTheOrderOfTheRollbackPush(t *testing.T) {
        tree := builtTree{}
        view := newView(0, 0)
        var states *pushEntry
        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")
 }
 
        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
 type pushEntry struct {
        keep  bool
        state int