Skip to content

Commit 9de4a7b

Browse files
committed
ci: update config to support 2-line error report in evaluation of output
1 parent c208821 commit 9de4a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
set +o pipefail
5050
5151
ERRS=$(protolock status --plugins=plugin-sample-error,plugin-sample-error | grep "some error" | wc -l)
52-
if [ "$ERRS" != 2 ]; then
52+
if [ "$ERRS" != 4 ]; then # (4 = 2 * 2, since errors are now reported using 2 lines)
5353
exit 1
5454
fi
5555
MOREERRS=$(protolock status --plugins=plugin-sample-error,plugin-sample-error,plugin-sample-error | grep "some error" | wc -l)
56-
if [ "$MOREERRS" != 3 ]; then
56+
if [ "$MOREERRS" != 6 ]; then # (6 = 3 * 2, since errors are now reported using 2 lines)
5757
exit 1
5858
fi
5959
- run:

0 commit comments

Comments
 (0)