We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DiffNode
1 parent da90378 commit 282258dCopy full SHA for 282258d
src/main/java/org/variantsync/diffdetective/variation/diff/DiffNode.java
@@ -763,6 +763,10 @@ public void assertConsistency() {
763
if (pb != null && pa == null) {
764
Assert.assertTrue(isRem());
765
}
766
+ // the root was not edited
767
+ if (pb == null && pa == null) {
768
+ Assert.assertTrue(isNon());
769
+ }
770
// a node with exactly two parents was not edited
771
if (pb != null && pa != null) {
772
Assert.assertTrue(isNon());
0 commit comments