Skip to content

Commit 2194e22

Browse files
committed
Adapt shouldAnalyseCSS test to stylelint v17 message change
SonarJS 12.5.0.41048 bumped stylelint from a previous version to v17, which renamed the message of the "no-invalid-double-slash-comments" rule from "Unexpected double-slash CSS comment" to "Invalid double- slash CSS comment". The eclipse standalone IT StandaloneAnalysisTest#shouldAnalyseCSS asserts on the exact message text, so it needs updating in lockstep.
1 parent 70e9a5f commit 2194e22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

its/org.sonarlint.eclipse.its.standalone/src/org/sonarlint/eclipse/its/standalone/StandaloneAnalysisTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public void shouldAnalyseCSS() {
399399

400400
var defaultEditor = new DefaultEditor();
401401
waitForMarkers(defaultEditor,
402-
tuple("Unexpected double-slash CSS comment", 1));
402+
tuple("Invalid double-slash CSS comment", 1));
403403
}
404404

405405
@Test

0 commit comments

Comments
 (0)