Expect typed remote.braille validation in the lifecycle conformance test

remote.braille is now implemented, so malformed parameters return the
invalid-parameters error. The unimplemented-operation check moves to an
operation that still does not exist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chase CichorzandClaude Opus 5.5 committed 2026-11-06 16:06:38 -05:00
1 parent 551ef86d5f
commit cb4d98545f
1 file changed
+4 -1
+4 -1
View File
@@ -218,7 +218,10 @@ func TestSessionSDKLifecycleConformance(t *testing.T) {
if _, code := remoteCall(t, session, "remote.key", map[string]any{}); code != -32602 {
t.Fatal("malformed typed key operation accepted", code)
}
if _, code := remoteCall(t, session, "remote.braille", map[string]any{}); code != -32601 {
if _, code := remoteCall(t, session, "remote.braille", map[string]any{}); code != -32602 {
t.Fatal("malformed typed Braille operation accepted", code)
}
if _, code := remoteCall(t, session, "remote.mouse", map[string]any{}); code != -32601 {
t.Fatal("unimplemented desktop operation accepted", code)
}
// One blocked handler cannot block the endpoint receive loop or lifecycle calls.