summaryrefslogtreecommitdiff
path: root/test/core/model
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-30 03:09:37 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-30 03:09:37 +0100
commitc4da68ba28e742810d05d35f0a26ef1d9b8c5b6c (patch)
treee506de597542f2a48fc025b13b4765a791339fb9 /test/core/model
parent90b2e9507e9d720452792b863b422221fe96d948 (diff)
stuff
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}};