diff options
author | Neil <nyamatongwe@gmail.com> | 2021-08-24 11:39:57 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-08-24 11:39:57 +1000 |
commit | dc0398d650e75efe9641f0c48d630f2c2027281a (patch) | |
tree | 83819a98c36c4b1c6a011d9524e26eb5b87da3d3 /test/unit | |
parent | f756e89f53b407432c7db7c4134bfdb8af94d964 (diff) | |
download | scintilla-mirror-dc0398d650e75efe9641f0c48d630f2c2027281a.tar.gz |
Remove line end white space.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/testCellBuffer.cxx | 4 | ||||
-rw-r--r-- | test/unit/testDocument.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx index b48e44bb9..ef7db099b 100644 --- a/test/unit/testCellBuffer.cxx +++ b/test/unit/testCellBuffer.cxx @@ -274,7 +274,7 @@ TEST_CASE("CharacterIndex") { REQUIRE(cb.IndexLineStart(4, LineCharacterIndexType::Utf32) == 7); REQUIRE(cb.IndexLineStart(5, LineCharacterIndexType::Utf32) == 7); - // Insert a valid 3-byte UTF-8 character at start -> + // Insert a valid 3-byte UTF-8 character at start -> // "\xE2\x82\xACa\n\xF0\x90\x8D\x88\nz\n\n" 5 lines const char *euro = "\xE2\x82\xAC"; @@ -294,7 +294,7 @@ TEST_CASE("CharacterIndex") { REQUIRE(cb.IndexLineStart(4, LineCharacterIndexType::Utf32) == 8); REQUIRE(cb.IndexLineStart(5, LineCharacterIndexType::Utf32) == 8); - // Insert a lone lead byte implying a 3 byte character at start of line 2 -> + // Insert a lone lead byte implying a 3 byte character at start of line 2 -> // "\xE2\x82\xACa\n\EF\xF0\x90\x8D\x88\nz\n\n" 5 lines // Should be treated as a single byte character diff --git a/test/unit/testDocument.cxx b/test/unit/testDocument.cxx index 809647e19..41e3907ae 100644 --- a/test/unit/testDocument.cxx +++ b/test/unit/testDocument.cxx @@ -332,7 +332,7 @@ TEST_CASE("Document") { REQUIRE(location == 2); location = doc.document.FindText(0, 2, finding932.c_str(), FindOption::None, &lengthFinding); REQUIRE(location == -1); - // Can not test case mapping of double byte text as folder available here does not implement this + // Can not test case mapping of double byte text as folder available here does not implement this } SECTION("GetCharacterAndWidth DBCS") { @@ -342,7 +342,7 @@ TEST_CASE("Document") { const Sci::Position length = doc.InsertString(0, "H\x84\xff\x84H", 5); // This text is invalid in code page 932. // A reasonable interpretation is as 4 items: 2 characters and 2 character fragments - // The last item is a 2-byte CYRILLIC CAPITAL LETTER ZE character + // The last item is a 2-byte CYRILLIC CAPITAL LETTER ZE character // H [84] [FF] ZE REQUIRE(5 == length); REQUIRE(5 == doc.Length()); |