From c7b259f4d3c48b4835237a1417d0872093d7b8f8 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Sat, 2 May 2026 13:28:57 -0500 Subject: [PATCH] test(tasks): migrate test_task_help atask to usage field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tera_template_task_args deprecation warning starts at 2026.5.0, which broke an exact-match assertion in tasks/test_task_help by prepending a deprecation warning to stderr. Migrated atask from the deprecated `arg()` Tera template to the equivalent `usage` field — same help output, no warning. Co-Authored-By: Claude Opus 4.7 (1M context) --- e2e/tasks/test_task_help | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/tasks/test_task_help b/e2e/tasks/test_task_help index b39761f512..f73761fa73 100644 --- a/e2e/tasks/test_task_help +++ b/e2e/tasks/test_task_help @@ -1,8 +1,9 @@ #!/usr/bin/env bash -cat <mise.toml +cat <<'EOF' >mise.toml [tasks.atask] -run = 'echo {{arg(name="myarg")}}' +usage = 'arg ""' +run = 'echo $usage_myarg' [tasks.npm] run = 'echo npm' EOF