Skip to content

Commit eff22b0

Browse files
bartlomiejuclaude
andcommitted
fix: correct response count in crdtp_multiple_domains test
UberDispatcher sends an error response for unregistered methods when run() is called, so there are 3 responses (2 success + 1 error), not 2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9f8f4f4 commit eff22b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13091,9 +13091,9 @@ fn crdtp_multiple_domains() {
1309113091
assert!(!result.method_found());
1309213092
result.run();
1309313093

13094-
// Two successful responses (Alpha + Beta), no response for Gamma
13094+
// Three responses: Alpha success, Beta success, Gamma error (method not found)
1309513095
let s = state.borrow();
13096-
assert_eq!(s.responses.len(), 2);
13096+
assert_eq!(s.responses.len(), 3);
1309713097
}
1309813098

1309913099
#[test]

0 commit comments

Comments
 (0)