test: refine new shape test assertions
Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
@@ -4,5 +4,5 @@ set -euo pipefail
|
||||
rule_file="$1"
|
||||
|
||||
grep -Eq 'set -euo pipefail' "${rule_file}"
|
||||
grep -Eq 'src_args = " "\.join' "${rule_file}"
|
||||
grep -Eq 'src_args = " "\.join\(\[_shell_quote\(src\.short_path\) for src in ctx\.files\.srcs\]\)' "${rule_file}"
|
||||
grep -Eq 'exec "\$\{bun_bin\}" test \{src_args\} "\$@"' "${rule_file}"
|
||||
|
||||
Reference in New Issue
Block a user