From d2b2c98185ef0b446997b704f9025f2977c7d8c2 Mon Sep 17 00:00:00 2001 From: Daniel Winsor Date: Wed, 20 Dec 2023 16:10:20 -0800 Subject: [PATCH] Adjust test initialization --- tests/span_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp index 44ae205..d86458b 100644 --- a/tests/span_tests.cpp +++ b/tests/span_tests.cpp @@ -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 {