We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7642a54 commit 27f0252Copy full SHA for 27f0252
repo_grep_test.go
@@ -115,12 +115,12 @@ func TestRepository_Grep_ExtendedRegexp(t *testing.T) {
115
{
116
Tree: "HEAD",
117
Path: "src/main/java/com/github/App.java",
118
- Line: 5,
119
- Column: 4,
120
- Text: ` * Hello world!`,
+ Line: 13,
+ Column: 30,
+ Text: ` System.out.println( "Hello World!" );`,
121
},
122
}
123
- got := testrepo.Grep(`Hello \w+`, GrepOptions{ExtendedRegexp: true})
+ got := testrepo.Grep(`Hello\sW\w+`, GrepOptions{ExtendedRegexp: true})
124
assert.Equal(t, want, got)
125
126
0 commit comments