Repository navigation
Commit 8c68fcb
committed
Expect no id in the refusal of an unreadable request id
## Motivation and Context
The null id test of `test/mcp/server_test.rb` (#612) expects the refusal to carry `"id": null`, and the test
of an id that is neither a string nor an integer (#613) only checks that `response[:id]` is nil. #615,
merged after both, leaves the `id` member out of an error response whose request id cannot be read,
so the first test fails on main (CI run 39142457575) and the second no longer pins the shape of the response.
Both now expect a response without an `id` member; the library is unchanged.
## How Has This Been Tested?
`test/mcp/server_test.rb`; against main the null id test fails as in CI.1 parent 25fd02f commit 8c68fcb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1942 | 1942 | | |
1943 | 1943 | | |
1944 | 1944 | | |
1945 | | - | |
| 1945 | + | |
1946 | 1946 | | |
1947 | 1947 | | |
1948 | 1948 | | |
| |||
1996 | 1996 | | |
1997 | 1997 | | |
1998 | 1998 | | |
1999 | | - | |
| 1999 | + | |
2000 | 2000 | | |
2001 | 2001 | | |
2002 | 2002 | | |
| |||
0 commit comments