Priority: Medium
Estimated Time: 15 minutes
Description:
test_duplicate_submit_fails uses #[should_panic] without asserting the specific error code. A try_submit_result variant should assert Error::AlreadySubmitted explicitly.
Tasks:
- Call
try_submit_result twice for the same match_id
- Assert the second call returns
Err(Ok(Error::AlreadySubmitted))
Priority: Medium
Estimated Time: 15 minutes
Description:
test_duplicate_submit_failsuses#[should_panic]without asserting the specific error code. Atry_submit_resultvariant should assertError::AlreadySubmittedexplicitly.Tasks:
try_submit_resulttwice for the samematch_idErr(Ok(Error::AlreadySubmitted))