t/t5538-push-shallow.sh: use the $( ... ) construct for command substitution
[gitweb.git] / t / t5150-request-pull.sh
index 93e2c65de65f8dd8544332dd512e6d61dad1746c..82c33b88e710b5fb6163a7bdcd9ecb783633aa83 100755 (executable)
@@ -229,7 +229,7 @@ test_expect_success 'pull request format' '
                cd local &&
                git request-pull initial "$downstream_url" full
        ) >request &&
-       grep ' tags/full$'
+       grep " tags/full\$" request
 '
 
 test_expect_success 'request-pull ignores OPTIONS_KEEPDASHDASH poison' '