diff options
Diffstat (limited to 'framework/qml/tests')
-rw-r--r-- | framework/qml/tests/tst_texteditor.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/qml/tests/tst_texteditor.qml b/framework/qml/tests/tst_texteditor.qml index 21ebe642..e6773aaa 100644 --- a/framework/qml/tests/tst_texteditor.qml +++ b/framework/qml/tests/tst_texteditor.qml | |||
@@ -40,6 +40,8 @@ TestCase { | |||
40 | 40 | ||
41 | function test_2htmlConversion() { | 41 | function test_2htmlConversion() { |
42 | editor.htmlEnabled = true | 42 | editor.htmlEnabled = true |
43 | verify(editor.text.indexOf("<html>") !== -1) | ||
44 | verify(editor.text.indexOf(editor.initialText) !== -1) | ||
43 | editor.htmlEnabled = false | 45 | editor.htmlEnabled = false |
44 | compare(editor.text, editor.initialText) | 46 | compare(editor.text, editor.initialText) |
45 | } | 47 | } |