Skip to content

Commit 124e867

Browse files
author
Vitaliy Boyko
committed
Fixed var name
1 parent 80aa289 commit 124e867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/com/magento/idea/magento2plugin/inspections/php/InspectionPhpFixtureTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected void assertHasHighlighting(String message) {
4747
}
4848

4949
protected void assertHasNoHighlighting(String message) {
50-
String highlightingNotFound = "Failed that documents not contains highlighting with the description `%s`";
50+
String highlightingFound = "Failed that documents not contains highlighting with the description `%s`";
5151

5252
List<HighlightInfo> highlightingList = myFixture.doHighlighting();
5353
if (highlightingList.isEmpty()) {
@@ -57,7 +57,7 @@ protected void assertHasNoHighlighting(String message) {
5757
for (HighlightInfo highlighting :
5858
highlightingList) {
5959
if (highlighting.getDescription().equals(message)) {
60-
fail(String.format(highlightingNotFound, message));
60+
fail(String.format(highlightingFound, message));
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)