aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-04-13 10:19:05 +1000
committerNeil <nyamatongwe@gmail.com>2020-04-13 10:19:05 +1000
commit9e0bf7cabaa1441baa65f0e60c3081dbdb51374a (patch)
tree8ce77a358f13106b2235afeeb6236e020b329818
parentebc4cb750d6a72ecf204a8b586eeef25c3783dea (diff)
downloadscintilla-mirror-9e0bf7cabaa1441baa65f0e60c3081dbdb51374a.tar.gz
Fix inverted test.
-rw-r--r--lexilla/test/TestLexers.cxx2
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";