File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,9 @@ lexical Word
2525 = [A-Za-z0-9\-]+ !>> [A-Za-z0-9]
2626 | ![A-Za-z0-9\-]+ !>> ![A-Za-z0-9]
2727 ;
28-
2928
3029// we test using all pico programs in the library
31- public set [loc ] programs = find (|project://rascal-lucene/| , "pico" );
30+ public set [loc ] programs = find (|project://rascal-lucene/src | , "pico" );
3231
3332// next to the src field we add comments and an extra field to index on.
3433data Document (loc comments = |unknown:///| , str extra = "" );
@@ -99,13 +98,13 @@ void extraSearch() {
9998}
10099
101100test bool extraTermsTest() = listTerms(indexFolder, "extra") == {
102- <"est",2 >,
103- <"tbmen",2 >,
104- <"vires",2 >,
105- <"dbndb",2 >,
106- <"voluntbs",2 >,
107- <"desint",2 >,
108- <"lbu",2 >
101+ <"est",1 >,
102+ <"tbmen",1 >,
103+ <"vires",1 >,
104+ <"dbndb",1 >,
105+ <"voluntbs",1 >,
106+ <"desint",1 >,
107+ <"lbu",1 >
109108};
110109
111110test bool identifierTest() = document(loc l) <- searchIndex(indexFolder, "src:repnr") && l == |project://rascal-lucene/src/analysis/text/search/testdata/Fac.pico|;
You can’t perform that action at this time.
0 commit comments