Skip to content

Commit f0baea1

Browse files
committed
test: fix error message assertion
1 parent d73fd60 commit f0baea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/protocol-validation-errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe("Protocol Validation Error Tests", () => {
145145
expect.fail("Should have thrown tool not found error");
146146
} catch (error: any) {
147147
console.log("Caught tool not found error:", error.message);
148-
expect(error.message).toContain("Unknown tool");
148+
expect(error.message).toContain("Tool nonexistent_tool not found");
149149
}
150150

151151
await new Promise((resolve) => setTimeout(resolve, 200));

0 commit comments

Comments
 (0)