Commit c0c93124 authored by Christian Kamm's avatar Christian Kamm

QmlJS tests: Fix compile of 'check' test.

Change-Id: I6cccb55d4c49eb6cf77ac4d1378d3d7adac95a32
Reviewed-on: http://codereview.qt-project.org/4881Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent eb119b21
......@@ -113,7 +113,7 @@ void tst_Check::test()
QFETCH(QString, path);
Snapshot snapshot;
Document::Ptr doc = Document::create(path);
Document::Ptr doc = Document::create(path, Document::QmlLanguage);
QFile file(doc->fileName());
file.open(QFile::ReadOnly | QFile::Text);
doc->setSource(file.readAll());
......
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