From 8bb2ca95c89d43770b9cbd3b7b99c1d7dadcfd2e Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 4 Mar 2021 16:25:41 +0100 Subject: [PATCH] checks/git: Give grep a literal tab Apparently the grep on FreeBSD doesn't do \s or \t. Since we're looking for an actual tab, just give it an actual tab. See https://builds.sr.ht/~faho/job/448496. --- tests/checks/git.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/git.fish b/tests/checks/git.fish index c81288ef8..1e3c8f3fb 100644 --- a/tests/checks/git.fish +++ b/tests/checks/git.fish @@ -24,7 +24,7 @@ git init >/dev/null 2>&1 # Note: We *can't* list all here because in addition to aliases, # git also uses all commands in $PATH called `git-something` as custom commands, # so this depends on system state! -complete -C'git ' | grep '^add\s' +complete -C'git ' | grep '^add'\t # (note: actual tab character in the check here) #CHECK: add Add file contents to the index