From 9e0bf7cabaa1441baa65f0e60c3081dbdb51374a Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 13 Apr 2020 10:19:05 +1000 Subject: Fix inverted test. --- lexilla/test/TestLexers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3