mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-28 19:29:57 +00:00
refactor: refresh aw plugin
This commit is contained in:
@ -55,7 +55,7 @@ void TestAWPatternFunctions::test_findKeys()
|
||||
{
|
||||
auto count = AWTestLibrary::randomInt(200);
|
||||
QStringList allKeys;
|
||||
for (auto i = 0; i < count; i++) {
|
||||
for (auto i = 0; i < count; ++i) {
|
||||
auto key = AWTestLibrary::randomString(1, 20);
|
||||
while (allKeys.indexOf(QRegularExpression(QString("^%1.*").arg(key))) != -1)
|
||||
key = AWTestLibrary::randomString(1, 20);
|
||||
|
Reference in New Issue
Block a user