From f6bc0ea88ffc93459eba56a1f1872099500405a0 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 16 Mar 2018 16:57:06 +1100 Subject: Backport: Remove line-end white space. Backport of changeset 6625:2dd6b8049c4e. --- test/unit/Sci.natvis | 2 +- test/unit/test.mak | 2 +- test/unit/testCellBuffer.cxx | 4 ++-- test/unit/testCharClassify.cxx | 2 +- test/unit/testWordList.cxx | 2 +- test/unit/unitTest.cxx | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'test/unit') diff --git a/test/unit/Sci.natvis b/test/unit/Sci.natvis index 562dd7ae3..0646036ba 100644 --- a/test/unit/Sci.natvis +++ b/test/unit/Sci.natvis @@ -1,4 +1,4 @@ - + {{size = {lengthBody}}} diff --git a/test/unit/test.mak b/test/unit/test.mak index d79aff8b3..f7adc7396 100644 --- a/test/unit/test.mak +++ b/test/unit/test.mak @@ -17,7 +17,7 @@ TESTEDSRC=\ ../../src/CharClassify.cxx \ ../../src/ContractionState.cxx \ ../../src/Decoration.cxx \ - ../../src/RunStyles.cxx + ../../src/RunStyles.cxx TESTS=$(EXE) diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx index 0efe35014..d99214481 100644 --- a/test/unit/testCellBuffer.cxx +++ b/test/unit/testCellBuffer.cxx @@ -26,7 +26,7 @@ TEST_CASE("CellBuffer") { const Sci::Position sLength = static_cast(strlen(sText)); CellBuffer cb(true); - + SECTION("InsertOneLine") { bool startSequence = false; const char *cpChange = cb.InsertString(0, sText, static_cast(sLength), startSequence); @@ -119,7 +119,7 @@ TEST_CASE("CellBuffer") { REQUIRE(memcmp(cb.BufferPointer(), sTextAfterDeletion, strlen(sTextAfterDeletion)) == 0); REQUIRE(cb.CanUndo()); REQUIRE(!cb.CanRedo()); - + cb.DeleteUndoHistory(); REQUIRE(!cb.CanUndo()); REQUIRE(!cb.CanRedo()); diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx index ce034e9d4..4a695588b 100644 --- a/test/unit/testCharClassify.cxx +++ b/test/unit/testCharClassify.cxx @@ -17,7 +17,7 @@ using namespace Scintilla; // Test CharClassify. class CharClassifyTest { - // Avoid warnings, deleted so never called. + // Avoid warnings, deleted so never called. CharClassifyTest(const CharClassifyTest &) = delete; protected: CharClassifyTest() { diff --git a/test/unit/testWordList.cxx b/test/unit/testWordList.cxx index 22025d6e5..4d7805d1e 100644 --- a/test/unit/testWordList.cxx +++ b/test/unit/testWordList.cxx @@ -56,7 +56,7 @@ TEST_CASE("WordList") { REQUIRE(wl.InListAbridged("w..active", '~')); REQUIRE(!wl.InListAbridged("w.active", '~')); REQUIRE(!wl.InListAbridged("w.x.closed", '~')); - + REQUIRE(wl.InListAbridged("book", '~')); REQUIRE(wl.InListAbridged("bok", '~')); REQUIRE(!wl.InListAbridged("bk", '~')); diff --git a/test/unit/unitTest.cxx b/test/unit/unitTest.cxx index 254f2ada6..762f202bc 100644 --- a/test/unit/unitTest.cxx +++ b/test/unit/unitTest.cxx @@ -40,7 +40,7 @@ #if defined(__GNUC__) // Want to avoid misleading indentation warnings in catch.hpp but the pragma -// may not be available so protect by turning off pragma warnings +// may not be available so protect by turning off pragma warnings #pragma GCC diagnostic ignored "-Wunknown-pragmas" #pragma GCC diagnostic ignored "-Wpragmas" #pragma GCC diagnostic ignored "-Wmisleading-indentation" -- cgit v1.2.3