summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeworkerscript
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-03-03 22:59:06 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-03-03 22:59:06 (GMT)
commit89e29d1f7a61f5cfa15cbce9b225a9d9ee9b4b7f (patch)
treeaf5ad0f732a02ed27ebfe4f0992f69f131f4fd5d /tests/auto/declarative/qdeclarativeworkerscript
parenta2c2a287e6c405200ef990f3dddae9d229aac722 (diff)
downloadQt-89e29d1f7a61f5cfa15cbce9b225a9d9ee9b4b7f.zip
Qt-89e29d1f7a61f5cfa15cbce9b225a9d9ee9b4b7f.tar.gz
Qt-89e29d1f7a61f5cfa15cbce9b225a9d9ee9b4b7f.tar.bz2
Fix url in source() test.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeworkerscript')
-rw-r--r--tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp b/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp
index 841a0ee..de11fe2 100644
--- a/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp
+++ b/tests/auto/declarative/qdeclarativeworkerscript/tst_qdeclarativeworkerscript.cpp
@@ -103,7 +103,7 @@ void tst_QDeclarativeWorkerScript::source_data()
QTest::addColumn<bool>("valid");
QTest::newRow("valid") << QUrl::fromLocalFile(SRCDIR "/data/worker.qml") << true;
- QTest::newRow("invalid") << QUrl("file:///asdjfk.js") << false;
+ QTest::newRow("invalid") << QUrl::fromLocalFile("asdjfk.js") << false;
}
void tst_QDeclarativeWorkerScript::messaging()