fix(core): annotate metadata literals in mcp tool tests

Add the required `/*metadata*/` comments to the positional `None`
arguments in the custom MCP approval regression tests.

This fixes the argument-comment lint failures on the PR branch
without changing test behavior.
This commit is contained in:
Felipe Coury
2026-04-28 12:11:18 -03:00
parent a9093c4417
commit 133b766e4b
+3 -3
View File
@@ -2097,7 +2097,7 @@ async fn custom_auto_mode_skips_approval_when_annotations_are_missing_in_never_m
&turn_context,
"call-custom-auto",
&invocation,
None,
/*metadata*/ None,
AppToolApproval::Auto,
)
.await;
@@ -2126,7 +2126,7 @@ async fn custom_auto_mode_skips_approval_when_annotations_are_missing_in_on_requ
&turn_context,
"call-custom-auto-on-request",
&invocation,
None,
/*metadata*/ None,
AppToolApproval::Auto,
)
.await
@@ -2188,7 +2188,7 @@ async fn custom_approve_mode_without_metadata_still_uses_arc_monitor() {
&turn_context,
"call-custom-approve-no-metadata",
&invocation,
None,
/*metadata*/ None,
AppToolApproval::Approve,
)
.await;