mirror of
https://github.com/sstephenson/bats.git
synced 2024-11-17 11:42:33 +01:00
Safely increment in a way that it works on Linux
Otherwise the CI is broken but still exits with 0 status: https://travis-ci.org/sstephenson/bats/builds/13173769
This commit is contained in:
parent
9f96c1f415
commit
edbabe54bc
|
@ -97,7 +97,7 @@ bats_capture_stack_trace() {
|
||||||
if [[ "$frame" = *"$test_pattern" ]]; then
|
if [[ "$frame" = *"$test_pattern" ]]; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
((index++))
|
index=$((index+1))
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user