diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-01-11 03:15:11 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-01-11 03:15:11 (GMT) |
commit | 3f095e957f27744c9c7a79679e35bfcc9db161fd (patch) | |
tree | d51c0c4d62a402840380e1c990ec1c2dbf2c789f /tests/auto | |
parent | f4c5b030db674f9a76a0156d55c5140420c400dd (diff) | |
download | Qt-3f095e957f27744c9c7a79679e35bfcc9db161fd.zip Qt-3f095e957f27744c9c7a79679e35bfcc9db161fd.tar.gz Qt-3f095e957f27744c9c7a79679e35bfcc9db161fd.tar.bz2 |
Qt has more stuff in rich text now.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qmlgraphicstextedit/tst_qmlgraphicstextedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicstextedit/tst_qmlgraphicstextedit.cpp b/tests/auto/declarative/qmlgraphicstextedit/tst_qmlgraphicstextedit.cpp index 96df0a5..66ecff6 100644 --- a/tests/auto/declarative/qmlgraphicstextedit/tst_qmlgraphicstextedit.cpp +++ b/tests/auto/declarative/qmlgraphicstextedit/tst_qmlgraphicstextedit.cpp @@ -173,6 +173,7 @@ void tst_qmlgraphicstextedit::text() actual.replace(QRegExp(".*<body[^>]*>"),""); actual.replace(QRegExp("(<[^>]*>)+"),"<>"); expected.replace(QRegExp("(<[^>]*>)+"),"<>"); + expected = "<> <> <> " + expected; QCOMPARE(actual.simplified(),expected.simplified()); } } |