RED-6009: Document Tree Structure
*fixed test
This commit is contained in:
parent
e722b3df7a
commit
2e227d6c78
@ -204,7 +204,7 @@ public class DocumentGraphEntityInsertionTest extends BuildDocumentGraphTest {
|
|||||||
String searchTerm = "absorption, distribution, metabolism";
|
String searchTerm = "absorption, distribution, metabolism";
|
||||||
int start = documentGraph.getTextBlock().indexOf(searchTerm);
|
int start = documentGraph.getTextBlock().indexOf(searchTerm);
|
||||||
assert start != -1;
|
assert start != -1;
|
||||||
start = documentGraph.getTextBlock().indexOf(searchTerm, start);
|
start = documentGraph.getTextBlock().indexOf(searchTerm, start + 1);
|
||||||
assert start != -1;
|
assert start != -1;
|
||||||
|
|
||||||
Boundary boundary = new Boundary(start, start + searchTerm.length());
|
Boundary boundary = new Boundary(start, start + searchTerm.length());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user