From 774fdb9fee984fdc202dce6ff2ada70ae7e4b0eb Mon Sep 17 00:00:00 2001 From: DangerousFreedom Date: Wed, 27 Sep 2023 20:37:32 +0200 Subject: [PATCH] fix base32 unit_test with single quote --- tests/unit_tests/base32.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit_tests/base32.cpp b/tests/unit_tests/base32.cpp index 9c8f72293b..1742804d81 100644 --- a/tests/unit_tests/base32.cpp +++ b/tests/unit_tests/base32.cpp @@ -29,6 +29,7 @@ #include "gtest/gtest.h" #include +#include #include #include #include @@ -370,5 +371,5 @@ TEST(base32, bad_chars) for (const char c : BASE32_UNALLOWED) EXPECT_EQ(base32::BADC, base32::JAMTIS_INVERTED_ALPHABET[(unsigned) c]); - EXPECT_EQ(base32::IGNC, base32::JAMTIS_INVERTED_ALPHABET[(unsigned) "-"]); + EXPECT_EQ(base32::IGNC, base32::JAMTIS_INVERTED_ALPHABET[(unsigned) '-']); }