From 7c9f0a1583dd9f46df4476f4fa91fbc5a91a85a6 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 30 Mar 1996 22:43:33 +0000 Subject: [PATCH] ([ConstantCollection -printCount]): Use object_get_class_name() instead of sending -name. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1312 72102866-910b-0410-8b05-ffd578937521 --- Testing/test01.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Testing/test01.m b/Testing/test01.m index ca195e630..a5bd1be4e 100644 --- a/Testing/test01.m +++ b/Testing/test01.m @@ -8,7 +8,7 @@ @implementation ConstantCollection (TestingExtras) - printCount { - printf("%s: count=%d\n", [self name], [self count]); + printf("%s: count=%d\n", object_get_class_name (self), [self count]); return self; } @end @@ -29,8 +29,8 @@ int main() int i; id array = [Array new]; - id bag = [Bag new]; - id set = [Set new]; + // id bag = [Bag new]; + // id set = [Set new]; id stack = [Stack new]; id queue = [Queue new]; id gaparray = [GapArray new];