Skip to content

Commit 493d1e4

Browse files
committed
🚨 fix warnings
1 parent b167096 commit 493d1e4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/src/unit-regression2.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,8 +1000,6 @@ TEST_CASE("regression tests 2")
10001000
{
10011001
nlohmann::json node;
10021002
node["test"] = "test\334\005";
1003-
auto x = node.dump(-1, ' ', false, nlohmann::json::error_handler_t::ignore);
1004-
10051003
CHECK(node.dump(-1, ' ', false, nlohmann::json::error_handler_t::ignore) == "{\"test\":\"test\\u0005\"}");
10061004
CHECK(node.dump(-1, ' ', false, nlohmann::json::error_handler_t::keep) == "{\"test\":\"test\334\005\"}");
10071005
CHECK(node.dump(-1, ' ', true, nlohmann::json::error_handler_t::keep) == "{\"test\":\"test\334\005\"}");

0 commit comments

Comments
 (0)