From 584299cf94ad852541f8c277d4c164191661dc18 Mon Sep 17 00:00:00 2001 From: jez <> Date: Fri, 10 Aug 2007 11:28:45 +0000 Subject: [PATCH] --- tests/Utils/test_base64.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/Utils/test_base64.hpp b/tests/Utils/test_base64.hpp index 71d7a29e..68b12cc8 100644 --- a/tests/Utils/test_base64.hpp +++ b/tests/Utils/test_base64.hpp @@ -29,8 +29,6 @@ class Base64Test : public TestCase char* out_next = out; std::codecvt_base::result res = cvt->out(state, in, in+3, in_next, out, out+10, out_next); - // delete cvt; - assertEquals(std::codecvt_base::ok, res); assertEquals(4, (out_next-out)); assertEquals('#', out[4]); @@ -50,8 +48,6 @@ class Base64Test : public TestCase char* out_next = out; std::codecvt_base::result res = cvt->out(state, in, in+4, in_next, out, out+10, out_next); - // delete cvt; - assertEquals(std::codecvt_base::ok, res); assertEquals(8, (out_next-out)); assertEquals('#', out[8]); @@ -71,8 +67,6 @@ class Base64Test : public TestCase char* in_next = in; std::codecvt_base::result res = cvt->in(state, out, out+4, out_next, in, in+10, in_next); - // delete cvt; - assertEquals("ABC", std::string(in, in_next)); assertEquals(3, (in_next-in)); assertEquals('#', in[3]); @@ -92,8 +86,6 @@ class Base64Test : public TestCase char* in_next = in; std::codecvt_base::result res = cvt->in(state, out, out+8, out_next, in, in+10, in_next); - // delete cvt; - assertEquals(std::codecvt_base::ok, res); assertEquals(4, (in_next-in)); assertEquals('#', in[4]);