aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-06-03 17:32:57 -0600
committerBen Burdette <bburdette@gmail.com>2020-06-03 17:32:57 -0600
commit721943e1d44b63d1a4055309fad39e1f4c0f9f0d (patch)
treeb2390e2d937536decb3f3f91f61ec1c090cc668e
parent4335ba999b8f782269f2f85defb0fb2c962d77c1 (diff)
update error grep
-rw-r--r--tests/fetchGitRefs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetchGitRefs.sh b/tests/fetchGitRefs.sh
index 93993ae90..23934698e 100644
--- a/tests/fetchGitRefs.sh
+++ b/tests/fetchGitRefs.sh
@@ -56,7 +56,7 @@ invalid_ref() {
else
(! git check-ref-format --branch "$1" >/dev/null 2>&1)
fi
- nix --debug eval --raw "(builtins.fetchGit { url = $repo; ref = ''$1''; }).outPath" 2>&1 | grep 'error: invalid Git branch/tag name' >/dev/null
+ nix --debug eval --raw "(builtins.fetchGit { url = $repo; ref = ''$1''; }).outPath" 2>&1 | grep 'invalid Git branch/tag name' >/dev/null
}