summaryrefslogtreecommitdiff
path: root/tests/test_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_object.h')
-rw-r--r--tests/test_object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_object.h b/tests/test_object.h
index a12fad51e2..b7eedc2670 100644
--- a/tests/test_object.h
+++ b/tests/test_object.h
@@ -165,8 +165,8 @@ TEST_CASE("[Object] Construction") {
Object object;
CHECK_MESSAGE(
- !object.is_reference(),
- "Object is not a Reference.");
+ !object.is_ref_counted(),
+ "Object is not a RefCounted.");
Object *p_db = ObjectDB::get_instance(object.get_instance_id());
CHECK_MESSAGE(