X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdd7933f3d21b94794431211129812e8c92b1bbf..f6b4a1b98d5a22a88a5a9a28076079116a2f892e:/tests/archive/tartest.cpp diff --git a/tests/archive/tartest.cpp b/tests/archive/tartest.cpp index 2ff2006d8e..d1d06fe8a5 100644 --- a/tests/archive/tartest.cpp +++ b/tests/archive/tartest.cpp @@ -44,8 +44,8 @@ protected: tartest::tartest() : ArchiveTestSuite("tar") { - AddArchiver(_T("tar cf %s *")); - AddUnArchiver(_T("tar xf %s")); + AddArchiver(wxT("tar cf %s *")); + AddUnArchiver(wxT("tar xf %s")); } CppUnit::Test *tartest::makeTest( @@ -59,13 +59,15 @@ CppUnit::Test *tartest::makeTest( return NULL; if (genericInterface) + { return new ArchiveTestCase( descr, new wxTarClassFactory, options, archiver, unarchiver); - else - return new ArchiveTestCase( - descr, new wxTarClassFactory, - options, archiver, unarchiver); + } + + return new ArchiveTestCase( + descr, new wxTarClassFactory, + options, archiver, unarchiver); } CPPUNIT_TEST_SUITE_REGISTRATION(tartest);