From ae81809e22f9c8d8396e96b83c8bdae687a00c70 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Thu, 4 Jun 2020 16:40:07 +0200 Subject: [PATCH] Rename test vectors to what they are actually about. --- tests/README.md | 8 ++++---- tests/{test2.csv => basic.csv} | 0 tests/{test6.csv => case_insensitivity.csv} | 0 tests/{test4.csv => leading_zero.csv} | 0 tests/{test5.csv => two_leading_zeros.csv} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename tests/{test2.csv => basic.csv} (100%) rename tests/{test6.csv => case_insensitivity.csv} (100%) rename tests/{test4.csv => leading_zero.csv} (100%) rename tests/{test5.csv => two_leading_zeros.csv} (100%) diff --git a/tests/README.md b/tests/README.md index 1987e54..de21075 100644 --- a/tests/README.md +++ b/tests/README.md @@ -5,7 +5,7 @@ This directory contains test vectors that should be used by every implementation | Filename | String to encode | Description | -------- | ---------------- | ----------- -| `test2.csv` | `yes mani !` | Basic case -| `test4.csv` | `\x00yes mani !` | Leading zero byte -| `test5.csv` | `\x00\x00yes mani !` | Two leading zero bytes (leading zeros are a source of bugs, hence there are two test vectors for them) -| `test6.csv` | `hello world` | Differently cased than expected, must decode without errors +| `basic.csv` | `yes mani !` | Basic case +| `leading_zero.csv` | `\x00yes mani !` | Leading zero byte +| `two_leading_zeros.csv` | `\x00\x00yes mani !` | Two leading zero bytes (leading zeros are a source of bugs, hence there are two test vectors for them) +| `case_insensitivity.csv` | `hello world` | Differently cased than expected, must decode without errors diff --git a/tests/test2.csv b/tests/basic.csv similarity index 100% rename from tests/test2.csv rename to tests/basic.csv diff --git a/tests/test6.csv b/tests/case_insensitivity.csv similarity index 100% rename from tests/test6.csv rename to tests/case_insensitivity.csv diff --git a/tests/test4.csv b/tests/leading_zero.csv similarity index 100% rename from tests/test4.csv rename to tests/leading_zero.csv diff --git a/tests/test5.csv b/tests/two_leading_zeros.csv similarity index 100% rename from tests/test5.csv rename to tests/two_leading_zeros.csv