fix(profiles): keep preflight queries read-only and numeric

This commit is contained in:
2026-10-30 11:10:22 -03:00
parent 460ed05a1f
commit c9014c9b36
5 changed files with 20 additions and 4 deletions
+6
View File
@@ -19,3 +19,9 @@ setup() {
run run_preformat_check 2>/dev/null || true
echo "$output" | grep -qiE "safe|mdm"
}
@test "pre-format checks handle zero profiles without arithmetic diagnostics" {
run run_preformat_check
[ "$status" -eq 0 ]
[[ "$output" != *"integer expression expected"* ]]
}