mirror of
https://github.com/nlohmann/json.git
synced 2026-09-07 08:47:57 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc749ac699 | ||
|
|
1c6ca81b8a |
@@ -304,8 +304,8 @@ TEST_CASE("Unicode (3/5)" * doctest::skip())
|
|||||||
{
|
{
|
||||||
for (int byte4 = 0x00; byte4 <= 0xFF; ++byte4)
|
for (int byte4 = 0x00; byte4 <= 0xFF; ++byte4)
|
||||||
{
|
{
|
||||||
// skip fourth second byte
|
// skip correct fourth byte
|
||||||
if (0x80 <= byte3 && byte3 <= 0xBF)
|
if (0x80 <= byte4 && byte4 <= 0xBF)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ TEST_CASE("Unicode (4/5)" * doctest::skip())
|
|||||||
for (int byte4 = 0x00; byte4 <= 0xFF; ++byte4)
|
for (int byte4 = 0x00; byte4 <= 0xFF; ++byte4)
|
||||||
{
|
{
|
||||||
// skip correct fourth byte
|
// skip correct fourth byte
|
||||||
if (0x80 <= byte3 && byte3 <= 0xBF)
|
if (0x80 <= byte4 && byte4 <= 0xBF)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ TEST_CASE("Unicode (5/5)" * doctest::skip())
|
|||||||
for (int byte4 = 0x00; byte4 <= 0xFF; ++byte4)
|
for (int byte4 = 0x00; byte4 <= 0xFF; ++byte4)
|
||||||
{
|
{
|
||||||
// skip correct fourth byte
|
// skip correct fourth byte
|
||||||
if (0x80 <= byte3 && byte3 <= 0xBF)
|
if (0x80 <= byte4 && byte4 <= 0xBF)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user