diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-06-03 17:32:57 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-06-03 17:32:57 -0600 |
commit | 721943e1d44b63d1a4055309fad39e1f4c0f9f0d (patch) | |
tree | b2390e2d937536decb3f3f91f61ec1c090cc668e /tests | |
parent | 4335ba999b8f782269f2f85defb0fb2c962d77c1 (diff) |
update error grep
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fetchGitRefs.sh | 2 |
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 } |