Skip to content

Commit

Permalink
double curly braces in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
neandreithal committed Jun 1, 2024
1 parent 02e6c5e commit eac818d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/corelib/src/detail/span_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TEST_CASE("jsoncons::detail::span constructor tests")
SECTION("jsoncons::detail::span(C& c)")
{
using C = std::vector<uint8_t>;
C c = {1,2,3,4};
C c = {{1,2,3,4}};

jsoncons::detail::span<const uint8_t> s(c);
CHECK(s.size() == c.size());
Expand Down

0 comments on commit eac818d

Please sign in to comment.