Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenberry committed Jan 13, 2025
1 parent b2a465f commit 8c2eb57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/jmespath/jmespath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit 8c2eb57

Please sign in to comment.