From 5febd04a26a6afccf1c335e012b443503c9ef068 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 23 Apr 2017 18:22:35 +0200 Subject: [PATCH] :bug: fixed test suite --- test/src/unit-unicode.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/src/unit-unicode.cpp b/test/src/unit-unicode.cpp index d889a87b4..a0eef991f 100644 --- a/test/src/unit-unicode.cpp +++ b/test/src/unit-unicode.cpp @@ -34,7 +34,7 @@ using nlohmann::json; #include -TEST_CASE("RFC 3629") +TEST_CASE("RFC 3629", "[hide]") { /* RFC 3629 describes in Sect. 4 the syntax of UTF-8 byte sequences as @@ -264,7 +264,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0xA0; byte2 <= 0xBF; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF) @@ -366,7 +366,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF) @@ -468,7 +468,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0x80; byte2 <= 0x9F; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF) @@ -570,7 +570,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF) @@ -699,7 +699,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0x90; byte2 <= 0xBF; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF) @@ -865,7 +865,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0x80; byte2 <= 0xBF; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF) @@ -1029,7 +1029,7 @@ TEST_CASE("RFC 3629") { for (int byte2 = 0x80; byte2 <= 0x8F; ++byte2) { - for (int byte3 = 0x00; byte3 <= 0xFF; ++byte2) + for (int byte3 = 0x00; byte3 <= 0xFF; ++byte3) { // skip correct third byte if (0x80 <= byte3 and byte3 <= 0xBF)