summaryrefslogtreecommitdiff
path: root/test/core/model
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/model')
-rw-r--r--test/core/model/TypesystemTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/model/TypesystemTest.cpp b/test/core/model/TypesystemTest.cpp
index 7d05f56..9a40db7 100644
--- a/test/core/model/TypesystemTest.cpp
+++ b/test/core/model/TypesystemTest.cpp
@@ -774,7 +774,7 @@ TEST(ArrayType, rtti)
{
Manager mgr;
Rooted<StringType> stringType{new StringType(mgr, nullptr)};
- Rooted<ArrayType> arrayType{new ArrayType(mgr, stringType)};
+ Rooted<ArrayType> arrayType{new ArrayType(stringType)};
ASSERT_TRUE(arrayType->isa(RttiTypes::ArrayType));
ASSERT_TRUE(arrayType->isa(typeOf<Type>()));
ASSERT_TRUE(arrayType->isa(typeOf<Node>()));
@@ -797,7 +797,7 @@ TEST(ArrayType, creation)
{
Manager mgr;
Rooted<StringType> stringType{new StringType(mgr, nullptr)};
- Rooted<ArrayType> arrayType{new ArrayType(mgr, stringType)};
+ Rooted<ArrayType> arrayType{new ArrayType(stringType)};
Variant val = arrayType->create();
ASSERT_TRUE(val.isArray());
@@ -808,7 +808,7 @@ TEST(ArrayType, conversion)
{
Manager mgr;
Rooted<StringType> stringType{new StringType(mgr, nullptr)};
- Rooted<ArrayType> arrayType{new ArrayType(mgr, stringType)};
+ Rooted<ArrayType> arrayType{new ArrayType(stringType)};
{
Variant val{{1, "test", false, 42.5}};