summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorEXetoC <exetoc@gmail.com>2014-03-07 00:09:43 +0100
committerEXetoC <exetoc@gmail.com>2014-03-07 00:09:43 +0100
commit90e326504b077bc0a233642e121cd8ea3155d637 (patch)
tree0f5226124afa27a8fd62e292f5922fcfed6fc17f /tests
parent3ae21ea48e5f61ccf757bc3588c3124e2b2899b3 (diff)
downloadNim-90e326504b077bc0a233642e121cd8ea3155d637.tar.gz
Update test with new names.
Diffstat (limited to 'tests')
-rw-r--r--tests/system/alloc.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/system/alloc.nim b/tests/system/alloc.nim
index 665b448ac..3a10a1a39 100644
--- a/tests/system/alloc.nim
+++ b/tests/system/alloc.nim
@@ -16,7 +16,7 @@ assert cast[ptr array[4, int]](x)[3] == 0
 x = cast[ptr int](x.realloc(2))
 assert x != nil
 
-x = x.reallocType(4)
+x = x.resize(4)
 assert x != nil
 x.dealloc()
 
@@ -37,9 +37,9 @@ assert cast[ptr array[3, int]](x)[2] == 0
 x = cast[ptr int](reallocShared(x, 2))
 assert x != nil
 
-x = reallocType(x, 12)
+x = resize(x, 12)
 assert x != nil
 
-x = reallocSharedType(x, 1)
+x = resizeShared(x, 1)
 assert x != nil
 x.deallocShared()