summaryrefslogtreecommitdiffstats
path: root/tests/auto/qscriptvalue
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-22 16:25:48 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-23 11:15:28 (GMT)
commit9c2a2e94f4d95b5fc26e929650e475adffbee6ae (patch)
tree50e3bcef3be059633ae972f0184b49ac32563e98 /tests/auto/qscriptvalue
parentdfedec65a7bd9b35ed45f2a2dc50751188ec529f (diff)
downloadQt-9c2a2e94f4d95b5fc26e929650e475adffbee6ae.zip
Qt-9c2a2e94f4d95b5fc26e929650e475adffbee6ae.tar.gz
Qt-9c2a2e94f4d95b5fc26e929650e475adffbee6ae.tar.bz2
tst_QScriptValue::toVariant is not about testing reg exp
Diffstat (limited to 'tests/auto/qscriptvalue')
-rw-r--r--tests/auto/qscriptvalue/tst_qscriptvalue.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
index 3c9108b..0036d95 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -1273,10 +1273,9 @@ void tst_QScriptValue::toVariant()
}
{
- QRegExp rx = QRegExp("[0-9a-z]+");
+ QRegExp rx = QRegExp("[0-9a-z]+", Qt::CaseSensitive, QRegExp::RegExp2);
QScriptValue rxObject = eng.newRegExp(rx);
QVariant var = rxObject.toVariant();
- QEXPECT_FAIL("", "toRegExp() is broken (doesn't remember patternSyntax of original regexp)", Continue);
QCOMPARE(var, QVariant(rx));
}