Skip to content

Commit

Permalink
tweak bash style
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Aug 24, 2021
1 parent 3920f6e commit 2d09af6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@ for case in "${test_cases[@]}"; do
continue
fi

if [ $PATTERN != "." ]; then
if [[ ! $case =~ $PATTERN ]]; then
continue
fi
if [ $PATTERN != "." ] && [[ ! $case =~ $PATTERN ]]; then
continue
fi

echo "Running $case"
Expand Down

0 comments on commit 2d09af6

Please sign in to comment.