File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
test/org/opensolaris/opengrok/search Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ public void testParseCmdLine() {
136
136
/**
137
137
* Test of search method, of class Search.
138
138
*/
139
+ /* see https://github.com/oracle/opengrok/issues/2030
139
140
@Test
140
141
public void testSearch() {
141
142
Search instance = new Search();
@@ -145,11 +146,9 @@ public void testSearch() {
145
146
assertTrue(instance.search());
146
147
assertEquals(1, instance.results.size());
147
148
148
- /* see https://github.com/oracle/opengrok/issues/2030
149
149
assertTrue(instance.parseCmdLine(new String[]{"-p", "main~"}));
150
150
assertTrue(instance.search());
151
151
assertEquals("Search for main~ in testdata sources", 9, instance.results.size()); // only in SearchEngine ... why?
152
- */
153
152
154
153
assertTrue(instance.parseCmdLine(new String[]{"-p", "\"main troff\"~5"}));
155
154
assertTrue(instance.search());
@@ -204,8 +203,8 @@ public void testSearch() {
204
203
assertTrue(instance.parseCmdLine(new String[]{"-f", "********in argv path:main.c"}));
205
204
assertTrue(instance.search());
206
205
assertEquals(4, instance.results.size());
207
-
208
206
}
207
+ */
209
208
210
209
@ Test
211
210
public void testSearchNotFound () {
You can’t perform that action at this time.
0 commit comments