[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ktexteditor] autotests/src/vimode: vimode: fix tests in non C locale
From: Michal Humpula <michal.humpula () hudrydum ! cz>
Date: 2016-06-18 15:18:46
Message-ID: E1bEI1G-0002Fk-9t () code ! kde ! org
[Download RAW message or body]
Git commit cdb26153d92a0fa18b1165972854e0ca22d1b621 by Michal Humpula.
Committed on 18/06/2016 at 15:18.
Pushed by michalhumpula into branch 'master'.
vimode: fix tests in non C locale
M +1 -1 autotests/src/vimode/keys.cpp
http://commits.kde.org/ktexteditor/cdb26153d92a0fa18b1165972854e0ca22d1b621
diff --git a/autotests/src/vimode/keys.cpp b/autotests/src/vimode/keys.cpp
index 4f048f5..8e66b63 100644
--- a/autotests/src/vimode/keys.cpp
+++ b/autotests/src/vimode/keys.cpp
@@ -699,7 +699,7 @@ void KeysTest::AltGr()
void KeysTest::MacroTests()
{
// Update the status on qa.
- const QString macroIsRecordingStatus = i18n("(recording)");
+ const QString macroIsRecordingStatus = QLatin1String("(") + i18n("recording") + QLatin1String(")");
clearAllMacros();
BeginTest("");
QVERIFY(!kate_view->viewModeHuman().contains(macroIsRecordingStatus));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic