fix: correct typos and improve documentation (#35)
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
parent
c3a7c1ac1e
commit
cd624a7d57
1 changed files with 15 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue