diff --git a/tests/jmespath/jmespath.cpp b/tests/jmespath/jmespath.cpp index 9e9d61f3c0..501c823f94 100644 --- a/tests/jmespath/jmespath.cpp +++ b/tests/jmespath/jmespath.cpp @@ -187,9 +187,9 @@ suite jmespath_slice_tests = [] { // A test case for a GCC14 warning struct gcc_maybe_uninitialized_t { - int acc{}; - int abbb{}; - int cqqq{}; + int acc{}; + int abbb{}; + int cqqq{}; }; struct test_wrapper_t @@ -200,10 +200,10 @@ struct test_wrapper_t suite gcc_maybe_uninitialized_tests = [] { "gcc_maybe_uninitialized"_test = [] { using namespace std::string_view_literals; - + gcc_maybe_uninitialized_t log{}; - - constexpr glz::opts opts{.null_terminated=0, .error_on_unknown_keys = 0}; + + constexpr glz::opts opts{.null_terminated = 0, .error_on_unknown_keys = 0}; auto ec = glz::read_jmespath<"test", opts>(log, R"({"test":{"acc":1}})"sv); expect(not ec) << glz::format_error(ec, R"({"test":{"acc":1}})"sv); expect(log.acc == 1);