fix: correct typos and improve documentation (#35)

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
Oleksandr Popov 2025-04-06 10:29:29 +02:00 • committed by Christian Tzolov
commit cd624a7d57

View file

@ -61,7 +61,7 @@ class McpClientSessionTests {
void testConstructorWithInvalidArguments() {
assertThatThrownBy(() -> new McpClientSession(null, transport, Map.of(), Map.of()))
.isInstanceOf(IllegalArgumentException.class)
.hasMessageContaining("requstTimeout can not be null");
.hasMessageContaining("The requestTimeout can not be null");
assertThatThrownBy(() -> new McpClientSession(TIMEOUT, null, Map.of(), Map.of()))
.isInstanceOf(IllegalArgumentException.class)