diff options
author | hjk <qtc-committer@nokia.com> | 2010-04-29 14:17:10 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-04-29 16:11:46 +0200 |
commit | bfdca8869f1ad41f9bffa9d35856d08e47abe74f (patch) | |
tree | 19d40c7f775488b933cab20f22362a840f8b9ef9 /tests | |
parent | 0d67d78ace443855249cb50bd12a105c9232568c (diff) | |
download | qt-creator-bfdca8869f1ad41f9bffa9d35856d08e47abe74f.tar.gz |
fakevim: fix autotest after recent changes to input handling
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/fakevim/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/auto/fakevim/main.cpp b/tests/auto/fakevim/main.cpp index b6f665545d..8a49116918 100644 --- a/tests/auto/fakevim/main.cpp +++ b/tests/auto/fakevim/main.cpp @@ -148,11 +148,6 @@ const QStringList tst_FakeVim::l = tst_FakeVim::lines.split('\n'); const QString tst_FakeVim::escape = QChar(27); -QString control(int c) -{ - return QChar(c + 256); -} - tst_FakeVim::tst_FakeVim(bool usePlainTextEdit) { @@ -616,7 +611,7 @@ void tst_FakeVim::command_i() // small insertion at start of document check("ix" + escape, "@x" + lines); check("u", "@" + lines); - check(control('r'), "@x" + lines); + checkEx("redo", "@x" + lines); check("u", "@" + lines); // small insertion at start of document |