diff options
author | Zufu Liu <unknown> | 2021-07-03 13:21:38 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2021-07-03 13:21:38 +1000 |
commit | a2d23bd463e65f532301b682b64cd02b8a57716b (patch) | |
tree | 1d8129cc58281e1134ebf3884273f458bfeebef4 /test/unit | |
parent | 9cda372c64c8920d2e910825161a8ed882b417b3 (diff) | |
download | scintilla-mirror-a2d23bd463e65f532301b682b64cd02b8a57716b.tar.gz |
Feature [feature-requests:#1408] Simplify code, remove IsDBCSTrailByteInvalid.
Drop temporary test for IsDBCSTrailByteNoExcept.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/testDocument.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/unit/testDocument.cxx b/test/unit/testDocument.cxx index cecd14920..c5275d25f 100644 --- a/test/unit/testDocument.cxx +++ b/test/unit/testDocument.cxx @@ -121,15 +121,4 @@ TEST_CASE("Document") { REQUIRE(ch == '='); } - SECTION("CheckTrailBytes") { - Document doc(DocumentOption::Default); - const int pages[] = { 932, 936, 949, 950, 1361 }; - for (const int page : pages) { - doc.SetDBCSCodePage(page); - for (int byteVal = 0; byteVal < 0x100; byteVal++) { - char ch = static_cast<char>(byteVal); - REQUIRE(doc.IsDBCSTrailByteNoExcept(ch) != doc.IsDBCSTrailByteInvalid(ch)); - } - } - } } |