aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/lib/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/test.sh b/scripts/lib/test.sh
index 52d3ac1..02dd6a8 100644
--- a/scripts/lib/test.sh
+++ b/scripts/lib/test.sh
@@ -194,7 +194,7 @@ test_filter_coverage() {
local grep_cmd="grep --invert-match"
for pattern in "${patterns[@]}"; do
- grep_cmd="$grep_cmd --patern '$pattern'"
+ grep_cmd="$grep_cmd -e '$pattern'"
done
if eval "$grep_cmd" "$coverage_file" >"$temp_file"; then