Skip to content

test: add coverage for decision constants and NoopStore#47

Open
Pranjal0410 wants to merge 1 commit intoc2siorg:mainfrom
Pranjal0410:test/coverage-gaps
Open

test: add coverage for decision constants and NoopStore#47
Pranjal0410 wants to merge 1 commit intoc2siorg:mainfrom
Pranjal0410:test/coverage-gaps

Conversation

@Pranjal0410
Copy link
Copy Markdown
Contributor

pkg/decision/decision_test.go (3 tests)

  • Wire protocol constants have unique values
  • Byte values match expected encoding (Allow=0x00, Sanitise=0x01, Block=0x02)
  • All constants fit single byte (wire protocol constraint)

internal/state/noop_test.go (5 tests)

  • Get returns nil for any key
  • Get returns nil across different session IDs
  • Set accepts any input without panic
  • Set-then-Get still returns nil (stateless guarantee)
  • Multiple Set calls maintain no state

All 57 sidecar tests passing. No code modified — tests only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant