X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/c781f79f3c8cb9a7577ee1574d196988da2719b3..d8f3785bb69288663f4cc46bf4d609c6770452d5:/memory_test.go diff --git a/memory_test.go b/memory_test.go index f317b0a..d3fa612 100644 --- a/memory_test.go +++ b/memory_test.go @@ -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", },