summaryrefslogtreecommitdiffstats
path: root/document/src/tests/documentselectparsertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/tests/documentselectparsertest.cpp')
-rw-r--r--document/src/tests/documentselectparsertest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/document/src/tests/documentselectparsertest.cpp b/document/src/tests/documentselectparsertest.cpp
index 1606cbc634d..464d3c66a7a 100644
--- a/document/src/tests/documentselectparsertest.cpp
+++ b/document/src/tests/documentselectparsertest.cpp
@@ -673,8 +673,8 @@ TEST_F(DocumentSelectParserTest, operators_1)
// Inherited doctypes
PARSE("testdoctype2", *_doc[4], True);
PARSE("testdoctype2", *_doc[3], False);
- PARSE("testdoctype1", *_doc[4], True);
- PARSE("testdoctype1.headerval = 10", *_doc[4], True);
+ PARSE("testdoctype1", *_doc[4], False); // testdoctype2 inherits testdoctype1, but we use exact matching for types
+ PARSE("testdoctype1.headerval = 10", *_doc[4], Invalid);
}
TEST_F(DocumentSelectParserTest, operators_2)
@@ -1182,7 +1182,7 @@ void DocumentSelectParserTest::testDocumentUpdates1()
// Inherited doctypes
PARSE("testdoctype2", *_update[4], True);
PARSE("testdoctype2", *_update[3], False);
- PARSE("testdoctype1", *_update[4], True);
+ PARSE("testdoctype1", *_update[4], False); // testdoctype2 inherits testdoctype1, but we use exact matching for types
PARSE("testdoctype1.headerval = 10", *_update[4], Invalid);
}