We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc4cd76 + 93d5e0c commit 13b70d2Copy full SHA for 13b70d2
1 file changed
t/t7810-grep.sh
@@ -658,9 +658,9 @@ test_expect_success LIBPCRE 'grep -P -v pattern' '
658
'
659
660
test_expect_success LIBPCRE 'grep -P -i pattern' '
661
- {
662
- echo "hello.c: printf(\"Hello world.\n\");"
663
- } >expected &&
+ cat >expected <<-EOF &&
+ hello.c: printf("Hello world.\n");
+ EOF
664
git grep -P -i "PRINTF\([^\d]+\)" hello.c >actual &&
665
test_cmp expected actual
666
0 commit comments