🔨 implemented MessagePack in binary_reader
This commit is contained in:
parent
3a34f2d82c
commit
b15fc13dd1
4 changed files with 567 additions and 502 deletions
|
|
@ -28,7 +28,6 @@ SOFTWARE.
|
|||
|
||||
#include "catch.hpp"
|
||||
|
||||
#define private public
|
||||
#include "json.hpp"
|
||||
using nlohmann::json;
|
||||
|
||||
|
|
@ -1357,12 +1356,6 @@ TEST_CASE("CBOR regressions", "[!throws]")
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("improve code coverage")
|
||||
{
|
||||
// exotic edge case
|
||||
CHECK_THROWS_AS(json::check_length(0xffffffffffffffffull, 0xfffffffffffffff0ull, 0xff), json::parse_error);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("CBOR roundtrips", "[hide]")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue