Skip to content

Commit

Permalink
Revert "Core: slight improvement to our MathML tests."
Browse files Browse the repository at this point in the history
This reverts commit e224099.
  • Loading branch information
agarny committed Aug 10, 2020
1 parent e224099 commit 31741f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/miscellaneous/Core/tests/mathmltests.cpp
Expand Up @@ -81,8 +81,9 @@ 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(QUrl::fromLocalFile(dirName+fileName));
xmlQuery.setFocus(focus);
xmlQuery.setQuery(mQuery);

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

0 comments on commit 31741f8

Please sign in to comment.