Skip to content

Commit 9386cd4

Browse files
committed
Merge branch 'hotfix/specifier' into main
2 parents a506a36 + 6186771 commit 9386cd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp-algorithm/src/math/test/combination_test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ GTEST_TEST(GenerateCombination, KGreaterThanStringLength)
6969
{
7070
const std::string seq = "abcd";
7171
constexpr int k = 5;
72-
constexpr auto expected = std::vector<std::string>{};
72+
const auto expected = std::vector<std::string>{};
7373
const auto result = Combination::GenerateCombination(seq, k);
7474
EXPECT_EQ(expected, result);
7575
}
@@ -78,7 +78,7 @@ GTEST_TEST(GenerateCombination, EmptyString)
7878
{
7979
const std::string seq;
8080
constexpr int k = 3;
81-
constexpr auto expected = std::vector<std::string>{};
81+
const auto expected = std::vector<std::string>{};
8282
const auto result = Combination::GenerateCombination(seq, k);
8383
EXPECT_EQ(expected, result);
8484
}

0 commit comments

Comments
 (0)