test: refine new shape test assertions
This commit is contained in:
committed by
copilot-swe-agent[bot]
parent
116f6bf003
commit
39f16cf5c6
@@ -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}"
|
||||
|
||||
@@ -3,4 +3,4 @@ set -euo pipefail
|
||||
|
||||
workflow_file="$1"
|
||||
|
||||
grep -Eq 'bazel test //tests/\.\.\.' "${workflow_file}" || grep -Eq 'bazel test //\.\.\.' "${workflow_file}"
|
||||
grep -Eq 'bazel test //(tests/)?\.\.\.' "${workflow_file}"
|
||||
|
||||
Reference in New Issue
Block a user