diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-25 06:43:43 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-05-25 06:43:43 +0200 |
commit | 9f909885184c48e3d9a5ef625b20ff61079341f5 (patch) | |
tree | 1730d16765c3dbd66e33698037e7bf46108e84b0 /tests | |
parent | 8b903a674f9a6ab3a74e127810d5e4e08bb84b2d (diff) |
Fixing test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-Handles.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-Handles.cc b/tests/test-Handles.cc index 389e22b..10b800d 100644 --- a/tests/test-Handles.cc +++ b/tests/test-Handles.cc @@ -139,12 +139,12 @@ void SimpleTaskTest::Do() { TAssert(s == i->getSize()); i->rseek(0, SEEK_SET); - char * buf1 = (char *) Balau::malloc(i->getSize()); + char * buf1 = (char *) malloc(i->getSize()); ssize_t r = i->read(buf1, s + 15); Printer::log(M_STATUS, "Read %zi bytes (instead of %" PRIi64 ")", r, s + 15); TAssert(i->isEOF()) - char * buf2 = (char *) Balau::malloc(i->getSize()); + char * buf2 = (char *) malloc(i->getSize()); i->rseek(0, SEEK_SET); TAssert(!i->isEOF()); TAssert(i->rtell() == 0); |