Skip to content

Commit

Permalink
Core: slight improvement to our MathML tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Aug 10, 2020
1 parent 13b5ab7 commit e224099
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/miscellaneous/Core/tests/mathmltests.cpp
Expand Up @@ -81,9 +81,8 @@ void MathmlTests::tests(const QString &pCategory)
xmlQuery.setMessageHandler(&dummyMessageHandler);

for (const auto &fileName : QDir(dirName).entryList({ "*.in" })) {
QString focus = OpenCOR::rawFileContents(dirName+fileName);

xmlQuery.setFocus(focus);
xmlQuery.setFocus(QUrl::fromLocalFile(dirName+fileName));
xmlQuery.setQuery(mQuery);

if (xmlQuery.evaluateTo(&actualOutput)) {
Expand Down

0 comments on commit e224099

Please sign in to comment.