We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a30bde commit e231f0dCopy full SHA for e231f0d
tests/test_syntax.cpp
@@ -81,7 +81,7 @@ void TestSyntax::testLoadValidSyntaxRules()
81
QCOMPARE_EQ(rule1.m_pattern.pattern(), "\\bint\\b");
82
QCOMPARE_EQ(rule1.m_format.foreground().color(), QColor("#ff0000"));
83
QCOMPARE_EQ(rule1.m_format.fontWeight(), QFont::Bold);
84
- QCOMPARE_EQ(rule1.m_format.fontItalic(), true);
+ QCOMPARE_NE(rule1.m_format.fontItalic(), true);
85
86
// Check the second rule
87
const auto &rule2 = syntax->m_syntaxRules[1];
0 commit comments