Author: mdiep
Date: Tue Mar 6 07:44:14 2007
New Revision: 17366
Modified:
trunk/t/pmc/object-mro.t
Log:
Fix the broken t/pmc/object-mro.t test.
Modified: trunk/t/pmc/object-mro.t
==============================================================================
--- trunk/t/pmc/object-mro.t (original)
+++ trunk/t/pmc/object-mro.t Tue Mar 6 07:44:14 2007
@@ -242,7 +242,7 @@
pir_output_is( <<'CODE', <<'OUTPUT', "print mro 4" );
#
-# Object
+# TestObject
# ^
# |
# LifeForm
@@ -265,11 +265,11 @@
# define class <vulcan> (<intelligent>, <humanoid>) end class;
#
.sub main :main
- .local pmc Object, LifeForm, Sentient, BiPedal, Intelligent, Humanoid,
Vulcan
+ .local pmc TestObject, LifeForm, Sentient, BiPedal, Intelligent, Humanoid,
Vulcan
- newclass Object, "Object"
+ newclass TestObject, "TestObject"
- subclass LifeForm, Object, "LifeForm"
+ subclass LifeForm, TestObject, "LifeForm"
subclass Sentient, LifeForm, "Sentient"
subclass Intelligent, Sentient, "Intelligent"
@@ -297,7 +297,7 @@
print_newline
.end
CODE
-Vulcan Intelligent Sentient Humanoid BiPedal LifeForm Object R
+Vulcan Intelligent Sentient Humanoid BiPedal LifeForm TestObject R
OUTPUT
# ... now some tests which fail to compose the class