summaryrefslogtreecommitdiff
path: root/test/suites/color_diagnostics.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/suites/color_diagnostics.bash')
-rw-r--r--test/suites/color_diagnostics.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suites/color_diagnostics.bash b/test/suites/color_diagnostics.bash
index 8295eb1c..53a9c2bb 100644
--- a/test/suites/color_diagnostics.bash
+++ b/test/suites/color_diagnostics.bash
@@ -40,8 +40,8 @@ SUITE_color_diagnostics_SETUP() {
color_diagnostics_expect_color() {
expect_contains "${1:?}" $'\033['
- expect_contains <(fgrep 'Wreturn-type' "$1") $'\033['
- expect_contains <(fgrep 'from preprocessor' "$1") $'\033['
+ expect_contains <(grep -F 'Wreturn-type' "$1") $'\033['
+ expect_contains <(grep -F 'from preprocessor' "$1") $'\033['
}
color_diagnostics_expect_no_color() {