Skip to content

Commit 27b1a10

Browse files
committed
Merge branch 'hotfix/specifier' into develop
2 parents 40143ad + 6186771 commit 27b1a10

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: codejsha

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)