diff options
Diffstat (limited to 'tests/benchmarks/corelib/tools')
-rw-r--r-- | tests/benchmarks/corelib/tools/qregexp/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/corelib/tools/qregexp/main.cpp b/tests/benchmarks/corelib/tools/qregexp/main.cpp index d26731edba..518c230590 100644 --- a/tests/benchmarks/corelib/tools/qregexp/main.cpp +++ b/tests/benchmarks/corelib/tools/qregexp/main.cpp @@ -520,7 +520,7 @@ void tst_qregexp::horribleReplaceJSC() { QScriptValue r; QScriptEngine engine; - // the m flag doesnt actually work here; dunno + // the m flag doesn't actually work here; dunno engine.globalObject().setProperty("s", str2.replace('\n', ' ')); QScriptValue replaceFunc = engine.evaluate("(function() { return s.replace(/.*#""define ZLIB_VERSION \"([0-9]+)\\.([0-9]+)\\.([0-9]+).*/gm, '$1.$2.$3') } )"); QVERIFY(replaceFunc.isFunction()); |