Skip to content

Commit b0e4958

Browse files
phernandezclaude
andcommitted
fix: correct test assertion for search error formatting
Update test to match actual error message format in search tool. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 8690c25 commit b0e4958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/mcp/test_tool_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_format_search_error_generic(self):
253253

254254
assert "# Search Failed" in result
255255
assert "Error searching for 'test query': unknown error" in result
256-
assert "General troubleshooting" in result
256+
assert "## Troubleshooting steps:" in result
257257

258258

259259
class TestSearchToolErrorHandling:

0 commit comments

Comments
 (0)