diff options
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/model/DomainTest.cpp | 1 | ||||
-rw-r--r-- | test/core/model/TypesystemTest.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/core/model/DomainTest.cpp b/test/core/model/DomainTest.cpp index 2e7f983..d8ad882 100644 --- a/test/core/model/DomainTest.cpp +++ b/test/core/model/DomainTest.cpp @@ -58,6 +58,7 @@ TEST(Domain, testDomainResolving) */ std::vector<Rooted<Managed>> res = domain->resolve(std::vector<std::string>{"book"}); + // First we expect the book domain. assert_path(res, 0, typeOf<Domain>(), {"book"}); // Then the book structure. diff --git a/test/core/model/TypesystemTest.cpp b/test/core/model/TypesystemTest.cpp index 399edb5..ff42fe5 100644 --- a/test/core/model/TypesystemTest.cpp +++ b/test/core/model/TypesystemTest.cpp @@ -463,7 +463,7 @@ static Rooted<StructType> createStructTypeWithParent(Handle<StructType> parent, Rooted<StringType> stringType{new StringType(mgr, nullptr)}; Rooted<IntType> intType{new IntType(mgr, nullptr)}; Rooted<StructType> structType{StructType::createValidated( - mgr, "struct", nullptr, parent, + mgr, "struct2", nullptr, parent, NodeVector<Attribute>{new Attribute{mgr, "aa", stringType, "value1"}, new Attribute{mgr, "bc", intType, 42}, new Attribute{mgr, "cd", parent}}, |