summary refs log tree commit diff stats
path: root/tests/objects
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-07-05 19:14:18 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-07-05 19:14:18 +0200
commitae82406c8b7bd1239416b1e6caed34161c133e94 (patch)
tree54a745fbd3c659bb0bbaae1c3f3682b1ea8275b0 /tests/objects
parent0926754e68861947c67986bc9c7e0a011a58267b (diff)
downloadNim-ae82406c8b7bd1239416b1e6caed34161c133e94.tar.gz
make tests green again
Diffstat (limited to 'tests/objects')
-rw-r--r--tests/objects/tobjects.nim4
-rw-r--r--tests/objects/toop.nim2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/objects/tobjects.nim b/tests/objects/tobjects.nim
index 2f46b46b5..66a38960e 100644
--- a/tests/objects/tobjects.nim
+++ b/tests/objects/tobjects.nim
@@ -1,5 +1,5 @@
 type
-  TBase = object of TObject
+  TBase = object of RootObj
     x, y: int
 
   TSubclassKind = enum ka, kb, kc, kd, ke, kf
@@ -13,7 +13,7 @@ type
     n: bool
 
 type
-  TMyObject = object of TObject
+  TMyObject = object of RootObj
     case disp: range[0..4]
       of 0: arg: char
       of 1: s: string
diff --git a/tests/objects/toop.nim b/tests/objects/toop.nim
index ebc59f637..4bd3998f3 100644
--- a/tests/objects/toop.nim
+++ b/tests/objects/toop.nim
@@ -3,7 +3,7 @@ discard """
 """
 
 type
-  TA = object of TObject
+  TA = object of RootObj
     x, y: int
 
   TB = object of TA