From 311e9165ed3b9442049e9e5e6b25c31d024f04ac Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 7 May 2008 15:09:10 +0000 Subject: Proper delete[] formatting (this time all occurences should've been changed...) svn-id: r31929 --- test/cxxtest/sample/CreatedTest.h | 2 +- test/cxxtest/sample/FixtureTest.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/cxxtest') diff --git a/test/cxxtest/sample/CreatedTest.h b/test/cxxtest/sample/CreatedTest.h index 84e8ae8a4b..53a6821a21 100644 --- a/test/cxxtest/sample/CreatedTest.h +++ b/test/cxxtest/sample/CreatedTest.h @@ -16,7 +16,7 @@ class CreatedTest : public CxxTest::TestSuite char *_buffer; public: CreatedTest( unsigned size ) : _buffer( new char[size] ) {} - virtual ~CreatedTest() { delete [] _buffer; } + virtual ~CreatedTest() { delete[] _buffer; } static CreatedTest *createSuite() { return new CreatedTest( 16 ); } static void destroySuite( CreatedTest *suite ) { delete suite; } diff --git a/test/cxxtest/sample/FixtureTest.h b/test/cxxtest/sample/FixtureTest.h index 653c7a14ae..33a119f2bd 100644 --- a/test/cxxtest/sample/FixtureTest.h +++ b/test/cxxtest/sample/FixtureTest.h @@ -22,7 +22,7 @@ public: void tearDown() { - delete [] _buffer; + delete[] _buffer; } void test_strcpy() -- cgit v1.2.3