From 51f25c7655dea8b344d501b292fc3bf234bbc3ff Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 9 Nov 2022 14:01:20 +0100 Subject: [PATCH] [erasure] fix typo --- tests/codex/testerasure.nim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/codex/testerasure.nim b/tests/codex/testerasure.nim index 8bf36aad..9b50c558 100644 --- a/tests/codex/testerasure.nim +++ b/tests/codex/testerasure.nim @@ -54,7 +54,7 @@ suite "Erasure encode/decode": return encoded - test "Should tolerate loosing M data blocks in a single random column": + test "Should tolerate losing M data blocks in a single random column": const buffers = 20 parity = 10 @@ -82,7 +82,7 @@ suite "Erasure encode/decode": let present = await store.hasBlock(d) check present.tryGet() - test "Should not tolerate loosing more than M data blocks in a single random column": + test "Should not tolerate losing more than M data blocks in a single random column": const buffers = 20 parity = 10 @@ -108,7 +108,7 @@ suite "Erasure encode/decode": let present = await store.hasBlock(d) check not present.tryGet() - test "Should tolerate loosing M data blocks in M random columns": + test "Should tolerate losing M data blocks in M random columns": const buffers = 20 parity = 10 @@ -136,7 +136,7 @@ suite "Erasure encode/decode": let present = await store.hasBlock(d) check present.tryGet() - test "Should not tolerate loosing more than M data blocks in M random columns": + test "Should not tolerate losing more than M data blocks in M random columns": const buffers = 20 parity = 10 @@ -170,7 +170,7 @@ suite "Erasure encode/decode": expect ResultFailure: decoded = (await erasure.decode(encoded)).tryGet() - test "Should tolerate loosing M (a.k.a row) contiguous data blocks": + test "Should tolerate losing M (a.k.a row) contiguous data blocks": const buffers = 20 parity = 10 @@ -186,7 +186,7 @@ suite "Erasure encode/decode": let present = await store.hasBlock(d) check present.tryGet() - test "Should tolerate loosing M (a.k.a row) contiguous parity blocks": + test "Should tolerate losing M (a.k.a row) contiguous parity blocks": const buffers = 20 parity = 10