Skip to content

Commit cd5ebf7

Browse files
refine comments on counter variable
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 21aa9e0 commit cd5ebf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

polymorphism/test/src/test_consume.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ int main()
4747
};
4848

4949
"[modern mock]"_test = [] {
50-
static constexpr auto EXPECTED_COOLFEATURE_CALLS = 2; // Called once for initial value and once for modification
50+
static constexpr auto EXPECTED_COOLFEATURE_CALLS = 2; // coolFeature() is called:
51+
// 1. During initial value check (line 54)
52+
// 2. During side effect verification (line 68)
5153
given("I have a an mock that adheres to a concept") = [] {
5254
mocking::Mock impl;
5355

0 commit comments

Comments
 (0)