Skip to content

Commit 8720d40

Browse files
committed
test: update unit test to use the test util fake informer
Signed-off-by: Zhiying Lin <[email protected]>
1 parent 5b35631 commit 8720d40

File tree

3 files changed

+176
-210
lines changed

3 files changed

+176
-210
lines changed

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ cmd/memberagent/ # Member agent main and setup
181181

182182
### Test Coding Style
183183
- Use `want` or `wanted` instead of `expect` or `expected` when creating the desired state
184+
- Comments that are complete sentences should be capitalized and punctuated like standard English sentences. (As an exception, it is okay to begin a sentence with an uncapitalized identifier name if it is otherwise clear. Such cases are probably best done only at the beginning of a paragraph.)
185+
- Comments that are sentence fragments have no such requirements for punctuation or capitalization.
186+
- Documentation comments should always be complete sentences, and as such should always be capitalized and punctuated. Simple end-of-line comments (especially for struct fields) can be simple phrases that assume the field name is the subject.
184187

185188
## Key Patterns
186189

0 commit comments

Comments
 (0)