diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/README | 4 | ||||
-rw-r--r-- | test/unit/Sci.natvis | 2 | ||||
-rw-r--r-- | test/unit/test.mak | 2 | ||||
-rw-r--r-- | test/unit/testCellBuffer.cxx | 4 | ||||
-rw-r--r-- | test/unit/testCharClassify.cxx | 2 | ||||
-rw-r--r-- | test/unit/testWordList.cxx | 2 | ||||
-rw-r--r-- | test/unit/unitTest.cxx | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/test/README b/test/README index f62f17851..53bfb7caa 100644 --- a/test/README +++ b/test/README @@ -10,8 +10,8 @@ pythonw xite.py To run the basic tests: python simpleTests.py -There are some lexing tests with simple input files in several languages in the examples -subdirectory and their expected lexed states in *.styled where the start of each style +There are some lexing tests with simple input files in several languages in the examples +subdirectory and their expected lexed states in *.styled where the start of each style is marked with {styleNumber}, for example: {15}<%@{16}language=javas{15}%>{0} 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 @@ -<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="SplitVector<*>">
<DisplayString>{{size = {lengthBody}}}</DisplayString>
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<Sci::Position>(strlen(sText)); CellBuffer cb(true); - + SECTION("InsertOneLine") { bool startSequence = false; const char *cpChange = cb.InsertString(0, sText, static_cast<int>(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" |