From 59815ebc10191bda094579bf764103c13f15dceb Mon Sep 17 00:00:00 2001 From: Niels Grewe Date: Fri, 29 Nov 2019 10:48:53 +0100 Subject: [PATCH] fix test for class properties --- Test/category_properties.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Test/category_properties.m b/Test/category_properties.m index 3d3d05d..f758f20 100644 --- a/Test/category_properties.m +++ b/Test/category_properties.m @@ -31,9 +31,9 @@ int main(int argc, char** argv) prop = class_getProperty(test, "val2"); assert(prop); assert(strcmp("Ti,R,D", property_getAttributes(prop)) == 0); -#ifdef DGS_RUNTIME_V2 +#ifdef GS_RUNTIME_V2 test = object_getClass(test); - objc_property_t prop = class_getProperty(test, "val2"); + prop = class_getProperty(test, "val2"); assert(prop); assert(strcmp("Ti,R,D", property_getAttributes(prop)) == 0); #endif