X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/496569ab5b179932c60b2924bf4c61176c8be004..959c24478e2c3a596a81cca359fd784c897f46a2:/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", },