Skip to content

Commit 27f0252

Browse files
committed
Try again
1 parent 7642a54 commit 27f0252

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

repo_grep_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ func TestRepository_Grep_ExtendedRegexp(t *testing.T) {
115115
{
116116
Tree: "HEAD",
117117
Path: "src/main/java/com/github/App.java",
118-
Line: 5,
119-
Column: 4,
120-
Text: ` * Hello world!`,
118+
Line: 13,
119+
Column: 30,
120+
Text: ` System.out.println( "Hello World!" );`,
121121
},
122122
}
123-
got := testrepo.Grep(`Hello \w+`, GrepOptions{ExtendedRegexp: true})
123+
got := testrepo.Grep(`Hello\sW\w+`, GrepOptions{ExtendedRegexp: true})
124124
assert.Equal(t, want, got)
125125
}
126126

0 commit comments

Comments
 (0)