]> git.giacomolli.uk - onechat/blobdiff - memory_test.go
Order functions by their first use
[onechat] / memory_test.go
index f317b0af555cf1ddc5b80d04d11e27f513a1dcaf..d3fa6129d4cc2134dd4130f0917224268bedd6a9 100644 (file)
@@ -483,17 +483,17 @@ func TestQueuedAppendRefusesAnInvalidReceipt(t *testing.T) {
                cause string
        }{
                {
-                       name:  "receipt points to different text",
+                       name:  "refuses when receipt points to different text",
                        id:    0,
                        cause: "does not match",
                },
                {
-                       name:  "receipt skips a log position",
+                       name:  "refuses when receipt skips a log position",
                        id:    2,
                        cause: "beyond the log",
                },
                {
-                       name:  "receipt has a negative position",
+                       name:  "refuses when receipt has a negative position",
                        id:    -1,
                        cause: "read queued message",
                },