diff --git a/Framework/Kernel/inc/MantidKernel/Strings.h b/Framework/Kernel/inc/MantidKernel/Strings.h index 5f560044d55f97f2d2df764d229f664e3f7bc610..3a346ee494cb414299327765c591f2ee638ecab7 100644 --- a/Framework/Kernel/inc/MantidKernel/Strings.h +++ b/Framework/Kernel/inc/MantidKernel/Strings.h @@ -101,12 +101,12 @@ DLLExport std::string joinCompress(ITERATOR_TYPE begin, ITERATOR_TYPE end, ITERATOR_TYPE i = begin; // Always include the first value result << *begin; - //move on to the next value + // move on to the next value ITERATOR_TYPE previousValue = i; ++i; std::string currentSeparator = separator; - for (; i != end;++i) { + for (; i != end; ++i) { // if it is one higher than the last value if (*i == (*previousValue + 1)) { currentSeparator = listSeparator; diff --git a/Framework/Kernel/test/ArrayPropertyTest.h b/Framework/Kernel/test/ArrayPropertyTest.h index ac7b2028578ebc08ffab7c0da483a6d34895fef6..c2f61d9f89f9f21b2b8da381ada0cbef2d12bc79 100644 --- a/Framework/Kernel/test/ArrayPropertyTest.h +++ b/Framework/Kernel/test/ArrayPropertyTest.h @@ -305,9 +305,9 @@ public: const std::vector<std::string> inputList{ "1,2,3", "-1,0,1", "356,366,367,368,370,371,372,375", "7,6,5,6,7,8,10", "1-9998, 9999, 2000, 20002-29999"}; - const std::vector<std::string> resultList{"1-3", "-1-1", - "356,366-368,370-372,375", "7,6,5-8,10", - "1-9999,2000,20002-29999"}; + const std::vector<std::string> resultList{ + "1-3", "-1-1", "356,366-368,370-372,375", "7,6,5-8,10", + "1-9999,2000,20002-29999"}; TSM_ASSERT("Test Failed for vectors of int", listShorteningwithType<int>(inputList, resultList)); diff --git a/Framework/Kernel/test/PropertyHistoryTest.h b/Framework/Kernel/test/PropertyHistoryTest.h index 82c87268541916966fbfba6ba468862e9a01966a..250c05800bdafdfa61e20f648fd0dba854f07d4b 100644 --- a/Framework/Kernel/test/PropertyHistoryTest.h +++ b/Framework/Kernel/test/PropertyHistoryTest.h @@ -15,9 +15,9 @@ class PropertyHistoryTest : public CxxTest::TestSuite { public: void testPopulate() { std::string correctOutput = "Name: arg1_param, "; - correctOutput += "Value: 20, "; - correctOutput += "Default?: Yes, "; - correctOutput += "Direction: Input\n"; + correctOutput += "Value: 20, "; + correctOutput += "Default?: Yes, "; + correctOutput += "Direction: Input\n"; // Not really much to test PropertyHistory AP("arg1_param", "20", "argument", true, Direction::Input);