Commit 0ca19928 authored by Nikita Sirgienko's avatar Nikita Sirgienko

[Maxima] handle missing documentation in TestMaxima::testSyntaxHelp

parent 75b2595d
......@@ -237,7 +237,9 @@ void TestMaxima::testSyntaxHelp()
help->fetchSyntaxHelp();
waitForSignal(help, SIGNAL(done()));
QVERIFY(help->toHtml().contains(QLatin1String("simplify_sum")));
bool trueHelpMessage= help->toHtml().contains(QLatin1String("simplify_sum"));
bool problemsWithMaximaDocs = help->toHtml().contains(QLatin1String("INTERNAL-SIMPLE-FILE-ERROR"));
QVERIFY(trueHelpMessage || problemsWithMaximaDocs);
}
void TestMaxima::testCompletion()
......
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