Skip to content

Commit c06c980

Browse files
committed
Skip regexp on macOS
1 parent 27f0252 commit c06c980

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

repo_grep_test.go

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package git
66

77
import (
8+
"runtime"
89
"testing"
910

1011
"github.com/stretchr/testify/assert"
@@ -111,6 +112,10 @@ func TestRepository_Grep_IgnoreCase(t *testing.T) {
111112
}
112113

113114
func TestRepository_Grep_ExtendedRegexp(t *testing.T) {
115+
if runtime.GOOS == "darwin" {
116+
t.Skip("Skipping testing on macOS")
117+
return
118+
}
114119
want := []*GrepResult{
115120
{
116121
Tree: "HEAD",

0 commit comments

Comments
 (0)