test(audit): reject arithmetic diagnostics across Bash versions
This commit is contained in:
@@ -23,5 +23,5 @@ setup() {
|
||||
@test "pre-format checks handle zero profiles without arithmetic diagnostics" {
|
||||
run run_preformat_check
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" != *"integer expression expected"* ]]
|
||||
[[ ! "$output" =~ integer.*expected ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user