mirror of
https://github.com/nlohmann/json.git
synced 2026-06-23 04:34:17 +00:00
Fix CI (#4160)
This commit is contained in:
@@ -51,7 +51,7 @@ TEST_CASE("check_for_mem_leak_on_adl_to_json-1")
|
||||
const nlohmann::json j = Foo {1, 0};
|
||||
std::cout << j.dump() << "\n";
|
||||
}
|
||||
catch (...)
|
||||
catch (...) // NOLINT(bugprone-empty-catch)
|
||||
{
|
||||
// just ignore the exception in this POC
|
||||
}
|
||||
@@ -64,7 +64,7 @@ TEST_CASE("check_for_mem_leak_on_adl_to_json-2")
|
||||
const nlohmann::json j = Foo {1, 1};
|
||||
std::cout << j.dump() << "\n";
|
||||
}
|
||||
catch (...)
|
||||
catch (...) // NOLINT(bugprone-empty-catch)
|
||||
{
|
||||
// just ignore the exception in this POC
|
||||
}
|
||||
@@ -77,7 +77,7 @@ TEST_CASE("check_for_mem_leak_on_adl_to_json-2")
|
||||
const nlohmann::json j = Foo {1, 2};
|
||||
std::cout << j.dump() << "\n";
|
||||
}
|
||||
catch (...)
|
||||
catch (...) // NOLINT(bugprone-empty-catch)
|
||||
{
|
||||
// just ignore the exception in this POC
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user