Skip to content

Commit

Permalink
Adjust test initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
d-winsor committed Dec 21, 2023
1 parent e64c97f commit d2b2c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/span_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ TEST(span_test, from_array_constructor)
EXPECT_TRUE(s.data() == std::addressof(arr2d[0]));
}

int arr3d[2][3][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
int arr3d[2][3][2] = { { {1, 2}, {3, 4}, {5, 6} }, { {7, 8}, {9, 10}, {11, 12} } };

#ifdef CONFIRM_COMPILATION_ERRORS
{
Expand Down

0 comments on commit d2b2c98

Please sign in to comment.