Author | Jamozed <[email protected]> |
Date | 2021-02-19 04:44:09 |
Commit | c20e9c703382248d3654161354392277af7c2653 |
Parent | 3e266afeddd9391602202c9d314fe32a475a7178 |
base64: Correct test numbering
Diffstat
M | src/base64.c | | | 2 | +- |
M | src/test/test_base64.c | | | 2 | +- |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base64.c b/src/base64.c index 8446847..ff3b46d 100644 --- a/src/base64.c +++ b/src/base64.c @@ -1,5 +1,5 @@ // base64.c, version 1.1.0 -// Base64 header file for OMKOV lib +// Base64 source file for OMKOV lib // Copyright (C) 2021, Jakob Wakeling // All rights reserved. diff --git a/src/test/test_base64.c b/src/test/test_base64.c index 48172f0..79fefd2 100644 --- a/src/test/test_base64.c +++ b/src/test/test_base64.c @@ -143,7 +143,7 @@ int main(void) { uint8_t i[12] = "MTIzNDU2Nzg5"; uint8_t o[10] = { 0 }; b64decode(o, i, 12); - ASSERT("T027 DECODE STRING LENGTH 12", + ASSERT("T025 DECODE STRING LENGTH 12", !memcmp(o, "123456789", 9)); }