RED-6009: Document Tree Structure

*fixed test
This commit is contained in:
Kilian Schuettler 2023-04-13 12:07:58 +02:00
parent e722b3df7a
commit 2e227d6c78

View File

@ -204,7 +204,7 @@ public class DocumentGraphEntityInsertionTest extends BuildDocumentGraphTest {
String searchTerm = "absorption, distribution, metabolism";
int start = documentGraph.getTextBlock().indexOf(searchTerm);
assert start != -1;
start = documentGraph.getTextBlock().indexOf(searchTerm, start);
start = documentGraph.getTextBlock().indexOf(searchTerm, start + 1);
assert start != -1;
Boundary boundary = new Boundary(start, start + searchTerm.length());