mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
make AbstractPartialParsrTest more strict
It should also test if node.getGrammarElement() is correct Signed-off-by: Moritz Eysholdt <moritz.eysholdt@typefox.io>
This commit is contained in:
parent
c216f1aa1d
commit
b78ea72ffe
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ public abstract class AbstractPartialParserTest extends AbstractXtextTests {
|
|||
assertTrue(secondIter.hasNext());
|
||||
INode firstNext = firstIter.next();
|
||||
INode secondNext = secondIter.next();
|
||||
assertEquals(firstNext.getGrammarElement(), secondNext.getGrammarElement());
|
||||
assertEquals(firstNext.getClass(), secondNext.getClass());
|
||||
assertEquals(firstNext.getTotalOffset(), secondNext.getTotalOffset());
|
||||
assertEquals(firstNext.getTotalLength(), secondNext.getTotalLength());
|
||||
|
|
Loading…
Reference in a new issue