assertEquals("2648c0c98f2101180715b4d432fc58d0e21a51d7", results.get(0).id);\r
assertEquals("refs/heads/gh-pages", results.get(0).branch);\r
\r
- // tag test\r
- results = LuceneUtils.search("\"qft split\"", 10, repository);\r
- assertEquals(1, results.size());\r
- assertEquals("Ondrej Certik", results.get(0).author);\r
- assertEquals("57c4f26f157ece24b02f4f10f5f68db1d2ce7ff5", results.get(0).id);\r
- assertEquals("[1st-edition]", results.get(0).labels.toString());\r
-\r
results = LuceneUtils.search("type:blob AND \"src/intro.rst\"", 10, repository);\r
assertEquals(4, results.size());\r
\r