Skip to content

Commit d650e1c

Browse files
committed
fix error message
1 parent 4939a18 commit d650e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/tests/test_sync_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_run_tool_wrong_param_type(self, get_n_rows_tool: ToolboxSyncTool):
7777
"""Invoke a tool with wrong param type."""
7878
with pytest.raises(
7979
Exception,
80-
match='provided parameters were invalid: unable to parse value for "num_rows": .* not type "string"',
80+
match=r"num_rows\s+Input should be a valid string\s+\[type=string_type,\s+input_value=2,\s+input_type=int\]",
8181
):
8282
get_n_rows_tool(num_rows=2)
8383

0 commit comments

Comments
 (0)