refactor: refresh aw plugin

This commit is contained in:
2024-04-16 18:33:19 +03:00
parent 54acc5f780
commit 397b523180
41 changed files with 251 additions and 305 deletions

View File

@ -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);