From 3a5f4aef479ce40f27da17c1dc5905523a5462f2 Mon Sep 17 00:00:00 2001 From: Mikkel Mondrup Kristensen Date: Mon, 7 Apr 2025 20:58:48 +0200 Subject: [PATCH] Also add tests for cmd and multiline cmd --- tests/query/injections/yaml/bash-on-taskfiles.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/query/injections/yaml/bash-on-taskfiles.yml b/tests/query/injections/yaml/bash-on-taskfiles.yml index 87a699cc3..c99dc4667 100644 --- a/tests/query/injections/yaml/bash-on-taskfiles.yml +++ b/tests/query/injections/yaml/bash-on-taskfiles.yml @@ -13,3 +13,12 @@ tasks: - echo "{{.GREETING}}" # ^ @bash silent: true + cmd: + cmd: echo "{{.GREETING}}" + # ^ @bash + silent: true + cmd-block: + cmd: | + echo "{{.GREETING}}" + # ^ @bash + silent: true