Commit 9367c3bd authored by Laurent Montel's avatar Laurent Montel 😁

Add test about comment

parent 82e2fabd
require "imap4flags";
require "fileinto";
#SCRIPTNAME: test1
if header :is ""
{
#Keep comment
#Keep multi line
keep :flags [ "\\Answered", "\\Flagged" ];
} else {
#FileInto comment
#comment2
fileinto "";
}
\ No newline at end of file
require "imapflags";
require "fileinto";
#SCRIPTNAME: test1
if header :is ""
{
#Keep comment
#Keep multi line
keep :flags [ "\\Answered", "\\Flagged" ];
} else {
#FileInto comment
#comment2
fileinto "";
}
......@@ -155,6 +155,7 @@ void SieveEditorGraphicalModeWidgetTest::shouldLoadScripts_data()
//We need to fix it.
QTest::newRow("regexp") << QStringLiteral("regexp") << true << true;
QTest::newRow("comparator") << QStringLiteral("comparator") << false << true;
QTest::newRow("test-comment") << QStringLiteral("test-comment") << false << true;
}
QTEST_MAIN(SieveEditorGraphicalModeWidgetTest)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment