Skip to content

Commit 6eb2db6

Browse files
2witstudiosclaude
andcommitted
style: Add clarifying comment on protocol version assertion
Address CodeRabbit nitpick: explain that the hardcoded version check is intentional to catch accidental protocol bumps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f8db725 commit 6eb2db6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/pu-core/src/protocol/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ fn given_kill_request_without_exclude_should_default_empty() {
480480

481481
#[test]
482482
fn given_protocol_version_should_be_current() {
483+
// Intentional hardcoded check — update when the protocol version is bumped.
483484
assert_eq!(PROTOCOL_VERSION, 4);
484485
}
485486

0 commit comments

Comments
 (0)