Skip to content

Commit

Permalink
Drop outdated plugin unit test
Browse files Browse the repository at this point in the history
The bug mentioned in the test was fixed with shellscape/postcss-less#159
  • Loading branch information
yassin-kammoun-sonarsource committed Apr 6, 2022
1 parent a4ea2e8 commit f4f2d84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.

This file was deleted.

Expand Up @@ -71,14 +71,6 @@ void parsing_error_not_on_excluded_files() {
.matches("(?s).*ERROR: Failed to parse file:\\S*file-with-parsing-error\\.css, line 1, Unclosed block.*");
}

// see https://github.com/SonarSource/sonar-css/issues/235
@Test
void parsing_error_on_less_selector_without_leading_space() {
// there should not be parse error: this comes from a bug reported to transitive dependency postcss-less (https://github.com/shellscape/postcss-less/issues/146)
assertThat(buildResult.getLogs())
.matches("(?s).*ERROR: Failed to parse file:\\S*file-with-parsing-error\\.less, line 4, Unknown word.*");
}

@Test
void issue_list() {
SearchRequest request = new SearchRequest();
Expand Down

0 comments on commit f4f2d84

Please sign in to comment.