diff --git a/test/sort.cpp b/test/sort.cpp index 3be218128..82b32e327 100644 --- a/test/sort.cpp +++ b/test/sort.cpp @@ -243,11 +243,11 @@ auto main() -> int { // NOLINT(readability-function-cognitive-complexity,bugpro BOOST_TEST(!(name1 < name2)); BOOST_TEST( name2[1][0] == 'a' ); - BOOST_TEST( name2[1][1] = 'a' ); - BOOST_TEST( name2[2][0] = 'b' ); - BOOST_TEST( name2[2][1] = 'a' ); - BOOST_TEST( name2[3][0] = 'c' ); - BOOST_TEST( name2[3][1] = 'a' ); + BOOST_TEST( name2[1][1] == 'a' ); + BOOST_TEST( name2[2][0] == 'b' ); + BOOST_TEST( name2[2][1] == 'a' ); + BOOST_TEST( name2[3][0] == 'c' ); + BOOST_TEST( name2[3][1] == 'a' ); } BOOST_AUTO_TEST_CASE(accumulate_1d) {