Skip to content

Commit 1d7c750

Browse files
fix: mistake code
related: #98
1 parent 5b5dee1 commit 1d7c750

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
100
1+
101

src/addtestcaseswizard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ auto AddTestCasesWizard::getMatchedPart(const QString &str, const QString &patte
176176
regExp = QRegularExpression::anchoredPattern(regExp);
177177
if (QRegularExpression(regExp).match(str.mid(i, j - i + 1)).hasMatch()) {
178178
if (QRegularExpression(QRegularExpression::anchoredPattern(
179-
getFullRegExp(pattern.mid(pos + 3)) + "$"))
179+
getFullRegExp(pattern.mid(pos + 3))))
180180
.match(str.mid(j + 1))
181181
.hasMatch()) {
182182
result[index] = str.mid(i, j - i + 1);

0 commit comments

Comments
 (0)