QmlJS: Fix autotest.

Change-Id: I0f7aba021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Christian Kandeler
2013-10-23 18:02:03 +02:00
parent 119548a0ff
commit 37e3bedbe4

View File

@@ -111,7 +111,7 @@ void tst_Check::test()
QFETCH(QString, path);
Snapshot snapshot;
Document::MutablePtr doc = Document::create(path, Document::QmlLanguage);
Document::MutablePtr doc = Document::create(path, Language::Qml);
QFile file(doc->fileName());
file.open(QFile::ReadOnly | QFile::Text);
doc->setSource(file.readAll());