plc4go: fixed issue in xml compare where empty inserts where suggested
diff --git a/plc4go/internal/plc4go/spi/testutils/TestUtils.go b/plc4go/internal/plc4go/spi/testutils/TestUtils.go
index ec8c6bf..b5d41fb 100644
--- a/plc4go/internal/plc4go/spi/testutils/TestUtils.go
+++ b/plc4go/internal/plc4go/spi/testutils/TestUtils.go
@@ -46,7 +46,7 @@
if diff != nil {
cleanDiff := make([]xdiff.Delta, 0)
for _, delta := range diff {
- if delta.Operation == xdiff.Delete && delta.Subject.Value == nil {
+ if delta.Operation == xdiff.Delete && delta.Subject.Value == nil || delta.Operation == xdiff.Insert && delta.Subject.Value == nil {
log.Info().Msgf("We ignore empty elements which should be deleted %v", delta)
continue
}