diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-04-13 10:19:05 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-04-13 10:19:05 +1000 |
| commit | 9e0bf7cabaa1441baa65f0e60c3081dbdb51374a (patch) | |
| tree | 8ce77a358f13106b2235afeeb6236e020b329818 | |
| parent | ebc4cb750d6a72ecf204a8b586eeef25c3783dea (diff) | |
| download | scintilla-mirror-9e0bf7cabaa1441baa65f0e60c3081dbdb51374a.tar.gz | |
Fix inverted test.
| -rw-r--r-- | lexilla/test/TestLexers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexilla/test/TestLexers.cxx b/lexilla/test/TestLexers.cxx index 3296cd16a..71b9a44e7 100644 --- a/lexilla/test/TestLexers.cxx +++ b/lexilla/test/TestLexers.cxx @@ -97,7 +97,7 @@ void TestCRLF(std::filesystem::path path, const std::string s, Scintilla::ILexer char ch = '\0'; pdoc->GetCharRange(&ch, pos, 1); if (ch == '\n') { - if (styleNow == prevStyle) { + if (styleNow != prevStyle) { std::cout << path.string() << ":" << line << ":" << " different styles between \\r and \\n at " << pos << ": " << prevStyle << ", " << styleNow << "\n"; |
